diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
commit | a1bd60b34891ccc77056c190d7871bc4b14fe654 (patch) | |
tree | 713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /amor/amor.h | |
parent | 8d92c3c2a4131996726cc7b625d3cd3caec296de (diff) | |
download | tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip |
TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amor/amor.h')
-rw-r--r-- | amor/amor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/amor/amor.h b/amor/amor.h index b93099e..39e3c0e 100644 --- a/amor/amor.h +++ b/amor/amor.h @@ -55,7 +55,7 @@ public: QueueItem(itemType ty, TQString te, int ti = -1); itemType type() { return iType; } - QString text() { return iText; }; + TQString text() { return iText; }; int time() { return iTime; }; void setTime(int newTime) { if (iTime > 0) iTime = newTime; }; @@ -73,6 +73,7 @@ private: class Amor : public TQObject, virtual public AmorIface { Q_OBJECT + TQ_OBJECT public: Amor(); virtual ~Amor(); @@ -150,9 +151,10 @@ private: //--------------------------------------------------------------------------- -class AmorSessionWidget : public QWidget +class AmorSessionWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: AmorSessionWidget(); ~AmorSessionWidget() {}; |