From 395a904bff7b4d6ead445c342f7ac0c5fbf29121 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 17:00:31 +0000 Subject: TQt4 port kdeaddons This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker-applets/kbinaryclock/kbinaryclock.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'kicker-applets/kbinaryclock/kbinaryclock.h') diff --git a/kicker-applets/kbinaryclock/kbinaryclock.h b/kicker-applets/kbinaryclock/kbinaryclock.h index 387288d..cfa8422 100644 --- a/kicker-applets/kbinaryclock/kbinaryclock.h +++ b/kicker-applets/kbinaryclock/kbinaryclock.h @@ -38,8 +38,9 @@ class KBinaryClock; class SettingsImp : public Settings { Q_OBJECT + TQ_OBJECT public: - SettingsImp(TQWidget* parent=0, + SettingsImp(TQWidget* tqparent=0, const char* name=0, WFlags fl=0); public slots: @@ -49,7 +50,7 @@ public slots: class KConfigDialogImp : public KConfigDialog { public: - KConfigDialogImp(TQWidget *parent, const char *name, + KConfigDialogImp(TQWidget *tqparent, const char *name, KConfigSkeleton *prefs, KDialogBase::DialogType dialogType = KDialogBase::IconList, KDialogBase::ButtonCode defaultButton = Ok, @@ -57,7 +58,7 @@ public: SettingsImp *settings; }; -class ClockAppletToolTip : public QToolTip +class ClockAppletToolTip : public TQToolTip { public: ClockAppletToolTip( KBinaryClock* clock ); @@ -71,8 +72,9 @@ class ClockAppletToolTip : public QToolTip class KBinaryClock : public KPanelApplet { Q_OBJECT + TQ_OBJECT public: - KBinaryClock(const TQString& configFile, Type t = Normal, int actions = 0, TQWidget *parent = 0, const char *name = 0); + KBinaryClock(const TQString& configFile, Type t = Normal, int actions = 0, TQWidget *tqparent = 0, const char *name = 0); ~KBinaryClock(); virtual int widthForHeight (int height) const; -- cgit v1.2.1