summaryrefslogtreecommitdiffstats
path: root/src/libgui/project_manager_ui.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/libgui/project_manager_ui.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/libgui/project_manager_ui.h')
-rw-r--r--src/libgui/project_manager_ui.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libgui/project_manager_ui.h b/src/libgui/project_manager_ui.h
index 012eb64..ea8676e 100644
--- a/src/libgui/project_manager_ui.h
+++ b/src/libgui/project_manager_ui.h
@@ -20,9 +20,10 @@
class PopupMenu : public KPopupMenu
{
Q_OBJECT
+ TQ_OBJECT
public:
PopupMenu() : _index(1) {}
- void insertItem(const QString &icon, const QString &label, QObject *receiver = 0, const char *slot = 0);
+ void insertItem(const TQString &icon, const TQString &label, TQObject *receiver = 0, const char *slot = 0);
private:
uint _index;
@@ -65,7 +66,7 @@ public:
HeaderItem(RootItem *item, Group group);
virtual int rtti() const { return HeaderRtti; }
Group group() const { return _group; }
- QListViewItem *lastChild() const;
+ TQListViewItem *lastChild() const;
private:
static const char *GROUP_LABELS[Nb_Groups];
@@ -84,7 +85,7 @@ private:
bool _external;
void set(const PURL::Url &url);
- virtual void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int align);
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align);
};
class RegisterItem : public KListViewItem
@@ -102,7 +103,7 @@ public:
virtual int rtti() const { return DeviceRtti; }
private:
- virtual QWidget *editWidgetFactory(int) const;
+ virtual TQWidget *editWidgetFactory(int) const;
virtual bool alwaysAcceptEdit(int) const { return true; }
};