diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdm/kfrontend/themer/kdmthemer.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/themer/kdmthemer.h')
-rw-r--r-- | kdm/kfrontend/themer/kdmthemer.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdm/kfrontend/themer/kdmthemer.h b/kdm/kfrontend/themer/kdmthemer.h index 34baffbb7..cd93c3c8c 100644 --- a/kdm/kfrontend/themer/kdmthemer.h +++ b/kdm/kfrontend/themer/kdmthemer.h @@ -22,8 +22,8 @@ #ifndef KDMTHEMER_H #define KDMTHEMER_H -#include <qobject.h> -#include <qdom.h> +#include <tqobject.h> +#include <tqdom.h> class KdmThemer; class KdmItem; @@ -47,7 +47,7 @@ class QEvent; */ -class KdmThemer : public QObject { +class KdmThemer : public TQObject { Q_OBJECT public: @@ -55,41 +55,41 @@ public: * Construct and destruct the interface */ - KdmThemer( const QString &path, const QString &mode, QWidget *parent ); + KdmThemer( const TQString &path, const TQString &mode, TQWidget *parent ); ~KdmThemer(); bool isOK() { return rootItem != 0; } /* * Gives a sizeHint to the widget (parent size) */ - //QSize sizeHint() const{ return parentWidget()->size(); } + //TQSize sizeHint() const{ return parentWidget()->size(); } /* * Takes a shot of the current widget */ -// void pixmap( const QRect &r, QPixmap *px ); +// void pixmap( const TQRect &r, TQPixmap *px ); virtual // just to put the reference in the vmt - KdmItem *findNode( const QString & ) const; + KdmItem *findNode( const TQString & ) const; void updateGeometry( bool force ); // force = true for external calls // must be called by parent widget - void widgetEvent( QEvent *e ); + void widgetEvent( TQEvent *e ); signals: - void activated( const QString &id ); + void activated( const TQString &id ); private: /* * Our display mode (e.g. console, remote, ...) */ - QString m_currentMode; + TQString m_currentMode; /* * The config file being used */ - QDomDocument domTree; + TQDomDocument domTree; /* * Stores the root of the theme @@ -99,24 +99,24 @@ private: /* * The backbuffer */ - QPixmap *backBuffer; + TQPixmap *backBuffer; // methods /* * Test whether item needs to be displayed */ - bool willDisplay( const QDomNode &node ); + bool willDisplay( const TQDomNode &node ); /* * Parses the XML file looking for the * item list and adds those to the themer */ - void generateItems( KdmItem *parent = 0, const QDomNode &node = QDomNode() ); + void generateItems( KdmItem *parent = 0, const TQDomNode &node = TQDomNode() ); - void showStructure( QObject *obj ); + void showStructure( TQObject *obj ); - QWidget *widget(); + TQWidget *widget(); }; |