summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjloader.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/kjofol-skin/kjloader.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};