diff options
Diffstat (limited to 'atlantik/client/eventlogwidget.h')
-rw-r--r-- | atlantik/client/eventlogwidget.h | 10 |
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); |