summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/kjofol-skin/kjloader.h')
-rw-r--r--noatun/modules/kjofol-skin/kjloader.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/noatun/modules/kjofol-skin/kjloader.h b/noatun/modules/kjofol-skin/kjloader.h
index 44b507d6..2510b14d 100644
--- a/noatun/modules/kjofol-skin/kjloader.h
+++ b/noatun/modules/kjofol-skin/kjloader.h
@@ -13,10 +13,10 @@
#include <noatun/app.h>
// system includes
-#include <qwidget.h>
-#include <qbitmap.h>
-#include <qptrlist.h>
-#include <qcstring.h>
+#include <tqwidget.h>
+#include <tqbitmap.h>
+#include <tqptrlist.h>
+#include <tqcstring.h>
#include <kwinmodule.h>
@@ -30,7 +30,7 @@ class KJFont;
class KJPrefs;
-class KJLoader : public QWidget, public UserInterface, public Parser
+class KJLoader : public TQWidget, public UserInterface, public Parser
{
Q_OBJECT
NOATUNPLUGIND
@@ -43,30 +43,30 @@ public:
public:
void minimize();
KHelpMenu *helpMenu() const { return mHelpMenu; }
- QStringList &item(const QString &key) { return *Parser::find(key); }
+ TQStringList &item(const TQString &key) { return *Parser::find(key); }
// returns path to currently loaded configfile
// can be either a newly loaded one or one of the three below
- QString currentSkin() { return mCurrentSkin; }
+ TQString currentSkin() { return mCurrentSkin; }
// returns path to mainskin-configfile
- QString currentDefaultSkin() { return mCurrentDefaultSkin; }
+ TQString currentDefaultSkin() { return mCurrentDefaultSkin; }
//returns path to dockmode-configfile if present
- QString currentDockModeSkin() { return mCurrentDockModeSkin; }
+ TQString currentDockModeSkin() { return mCurrentDockModeSkin; }
//returns path to winshademode-configfile if present (not supported yet)
- QString currentWinshadeModeSkin() { return mCurrentWinshadeModeSkin; }
+ TQString currentWinshadeModeSkin() { return mCurrentWinshadeModeSkin; }
KJPrefs *prefs() const { return mPrefs; }
- QPtrList<KJWidget> widgetsAt(const QPoint &pt) const;
+ TQPtrList<KJWidget> widgetsAt(const TQPoint &pt) const;
void removeChild(KJWidget *c);
void addChild(KJWidget *c);
public slots:
- void loadSkin(const QString &file);
+ void loadSkin(const TQString &file);
void readConfig();
void switchToDockmode();
void returnFromDockmode();
@@ -90,15 +90,15 @@ private slots:
void hideSplash();
protected:
- virtual void mouseMoveEvent(QMouseEvent *e);
- virtual void mousePressEvent(QMouseEvent *e);
- virtual void mouseReleaseEvent(QMouseEvent *e);
- virtual void paintEvent(QPaintEvent *e);
- virtual void closeEvent(QCloseEvent*e);
- virtual void wheelEvent(QWheelEvent *e);
+ virtual void mouseMoveEvent(TQMouseEvent *e);
+ virtual void mousePressEvent(TQMouseEvent *e);
+ virtual void mouseReleaseEvent(TQMouseEvent *e);
+ virtual void paintEvent(TQPaintEvent *e);
+ virtual void closeEvent(TQCloseEvent*e);
+ virtual void wheelEvent(TQWheelEvent *e);
- virtual void dragEnterEvent(QDragEnterEvent *event);
- virtual void dropEvent(QDropEvent *event);
+ virtual void dragEnterEvent(TQDragEnterEvent *event);
+ virtual void dropEvent(TQDropEvent *event);
public:
static KJLoader* kjofol;
@@ -108,20 +108,20 @@ private:
KWinModule *mWin;
WId mDockToWin;
int mDockPositionX, mDockPositionY, mDockPosition;
- QRect mDockWindowRect;
+ TQRect mDockWindowRect;
// ==== end of docking stuff ====
bool moving;
- QPoint mMousePoint;
- QPtrList<KJWidget> subwidgets;
+ TQPoint mMousePoint;
+ TQPtrList<KJWidget> subwidgets;
KJWidget *mClickedIn;
KHelpMenu *mHelpMenu;
KJFont *mText, *mNumbers, *mVolumeFont, *mPitchFont;
- QLabel *splashScreen;
+ TQLabel *splashScreen;
KJToolTip *mTooltips;
- QString mCurrentSkin;
- QString mCurrentDefaultSkin;
- QString mCurrentDockModeSkin;
- QString mCurrentWinshadeModeSkin;
+ TQString mCurrentSkin;
+ TQString mCurrentDefaultSkin;
+ TQString mCurrentDockModeSkin;
+ TQString mCurrentWinshadeModeSkin;
KJPrefs *mPrefs;
};