summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/boardinfo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /atlantikdesigner/designer/boardinfo.h
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
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
Diffstat (limited to 'atlantikdesigner/designer/boardinfo.h')
-rw-r--r--atlantikdesigner/designer/boardinfo.h12
1 files changed, 7 insertions, 5 deletions
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<TQWidget> 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();