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 --- atlantikdesigner/designer/boardinfo.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'atlantikdesigner/designer/boardinfo.h') diff --git a/atlantikdesigner/designer/boardinfo.h b/atlantikdesigner/designer/boardinfo.h index a1f822e..9faff57 100644 --- a/atlantikdesigner/designer/boardinfo.h +++ b/atlantikdesigner/designer/boardinfo.h @@ -17,7 +17,7 @@ class TQVBoxLayout; struct BoardInfo { - BoardInfo() { bgColor = Qt::lightGray; } + BoardInfo() { bgColor = TQt::lightGray; } TQString name; TQStringList authors; TQStringList credits; @@ -27,12 +27,13 @@ struct BoardInfo TQColor bgColor; }; -class LotsaEdits : public QWidget +class LotsaEdits : public TQWidget { Q_OBJECT + TQ_OBJECT public: - LotsaEdits(bool, QStringList=TQStringList(), TQWidget *parent=0, const char *name=0); + LotsaEdits(bool, TQStringList=TQStringList(), TQWidget *tqparent=0, const char *name=0); public slots: TQStringList save(); @@ -44,15 +45,16 @@ class LotsaEdits : public QWidget private: bool editable; TQPtrList list; - TQVBoxLayout *layout; + TQVBoxLayout *tqlayout; }; class BoardInfoDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - BoardInfoDlg(bool editable, BoardInfo *, TQWidget *parent=0, const char *_name=0, bool = true); + BoardInfoDlg(bool editable, BoardInfo *, TQWidget *tqparent=0, const char *_name=0, bool = true); protected slots: void slotOk(); -- cgit v1.2.1