From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- kalarm/specialactions.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'kalarm/specialactions.h') 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); } -- cgit v1.2.1