summaryrefslogtreecommitdiffstats
path: root/atlantik/client/eventlogwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /atlantik/client/eventlogwidget.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'atlantik/client/eventlogwidget.h')
-rw-r--r--atlantik/client/eventlogwidget.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/atlantik/client/eventlogwidget.h b/atlantik/client/eventlogwidget.h
index c9e1eacd..3b2d1883 100644
--- a/atlantik/client/eventlogwidget.h
+++ b/atlantik/client/eventlogwidget.h
@@ -28,16 +28,17 @@ class KListView;
class KListViewItem;
class KPushButton;
-class EventLog : public QObject
+class EventLog : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
EventLog();
TQPtrList<Event> events();
public slots:
- void addEvent(const TQString &description, const TQString &icon = TQString::null);
+ void addEvent(const TQString &description, const TQString &icon = TQString());
signals:
void newEvent(Event *event);
@@ -46,14 +47,15 @@ private:
TQPtrList<Event> m_events;
};
-class EventLogWidget : public QWidget
+class EventLogWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
enum EventLogType { Default, Net_In, Net_Out };
- EventLogWidget(EventLog *eventLog, TQWidget *parent=0, const char *name = 0);
+ EventLogWidget(EventLog *eventLog, TQWidget *tqparent=0, const char *name = 0);
public slots:
void addEvent(Event *event);