diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/specialactions.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/specialactions.h')
-rw-r--r-- | kalarm/specialactions.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/kalarm/specialactions.h b/kalarm/specialactions.h index 4cc7b698d..58f5c7d62 100644 --- a/kalarm/specialactions.h +++ b/kalarm/specialactions.h @@ -28,11 +28,12 @@ class KLineEdit; -class SpecialActionsButton : public QPushButton +class SpecialActionsButton : public TQPushButton { Q_OBJECT + TQ_OBJECT public: - SpecialActionsButton(const TQString& caption, TQWidget* parent = 0, const char* name = 0); + SpecialActionsButton(const TQString& caption, TQWidget* tqparent = 0, const char* name = 0); void setActions(const TQString& pre, const TQString& post); const TQString& preAction() const { return mPreAction; } const TQString& postAction() const { return mPostAction; } @@ -53,11 +54,12 @@ class SpecialActionsButton : public QPushButton // Pre- and post-alarm actions widget -class SpecialActions : public QWidget +class SpecialActions : public TQWidget { Q_OBJECT + TQ_OBJECT public: - SpecialActions(TQWidget* parent = 0, const char* name = 0); + SpecialActions(TQWidget* tqparent = 0, const char* name = 0); void setActions(const TQString& pre, const TQString& post); TQString preAction() const; TQString postAction() const; @@ -75,9 +77,10 @@ class SpecialActions : public QWidget class SpecialActionsDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: SpecialActionsDlg(const TQString& preAction, const TQString& postAction, - const TQString& caption, TQWidget* parent = 0, const char* name = 0); + const TQString& caption, TQWidget* tqparent = 0, const char* name = 0); TQString preAction() const { return mActions->preAction(); } TQString postAction() const { return mActions->postAction(); } void setReadOnly(bool ro) { mActions->setReadOnly(ro); } |