diff options
Diffstat (limited to 'src/modules/options/optw_messages.h')
-rw-r--r-- | src/modules/options/optw_messages.h | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/src/modules/options/optw_messages.h b/src/modules/options/optw_messages.h index 7f82a145..e8ecb59a 100644 --- a/src/modules/options/optw_messages.h +++ b/src/modules/options/optw_messages.h @@ -29,8 +29,8 @@ #include "kvi_tal_listview.h" #include "kvi_tal_listbox.h" -#include <qcheckbox.h> -#include <qtoolbutton.h> +#include <tqcheckbox.h> +#include <tqtoolbutton.h> #include "kvi_tal_popupmenu.h" #define KVI_OPTIONS_WIDGET_ICON_KviMessageOptionsWidget KVI_SMALLICON_MESSAGES @@ -42,8 +42,9 @@ class KviMessageOptionsWidget : public KviOptionsWidget { Q_OBJECT + TQ_OBJECT public: - KviMessageOptionsWidget(QWidget * pParent); + KviMessageOptionsWidget(TQWidget * pParent); ~KviMessageOptionsWidget(); }; @@ -58,8 +59,9 @@ public: class KviPrivmsgOptionsWidget : public KviOptionsWidget { Q_OBJECT + TQ_OBJECT public: - KviPrivmsgOptionsWidget(QWidget * parent); + KviPrivmsgOptionsWidget(TQWidget * tqparent); ~KviPrivmsgOptionsWidget(); }; @@ -73,8 +75,9 @@ public: class KviTimestampOptionsWidget : public KviOptionsWidget { Q_OBJECT + TQ_OBJECT public: - KviTimestampOptionsWidget(QWidget * parent); + KviTimestampOptionsWidget(TQWidget * tqparent); ~KviTimestampOptionsWidget(); public: KviBoolSelector * m_pUseTimestampSelector; @@ -94,13 +97,14 @@ protected slots: class KviMessageListView : public KviTalListView { Q_OBJECT + TQ_OBJECT public: - KviMessageListView(QWidget * par); + KviMessageListView(TQWidget * par); ~KviMessageListView(); protected: - void paintEmptyAreaInternal(QPainter * p,const QRect &viewportRect,const QRect &painterRect); + void paintEmptyAreaInternal(TQPainter * p,const TQRect &viewportRect,const TQRect &painterRect); public: - void paintEmptyArea(QPainter * p,const QRect &rct); + void paintEmptyArea(TQPainter * p,const TQRect &rct); }; @@ -115,20 +119,20 @@ private: public: int optionId(){ return m_iOptId; }; KviMsgType * msgType(){ return m_pMsgType; }; - virtual void paintCell(QPainter * p,const QColorGroup &,int,int,int); + virtual void paintCell(TQPainter * p,const TQColorGroup &,int,int,int); }; class KviMessageColorListBoxItem : public KviTalListBoxText { public: - KviMessageColorListBoxItem(KviTalListBox * b,const QColor & clr,int idx); + KviMessageColorListBoxItem(KviTalListBox * b,const TQColor & clr,int idx); ~KviMessageColorListBoxItem(); public: int m_iClrIdx; - QColor m_clr; + TQColor m_clr; public: - virtual void paint(QPainter * p); + virtual void paint(TQPainter * p); virtual int width(const KviTalListBox * lv) const { return 120; }; }; @@ -138,8 +142,9 @@ public: class KviMessageColorsOptionsWidget : public KviOptionsWidget { Q_OBJECT + TQ_OBJECT public: - KviMessageColorsOptionsWidget(QWidget * parent); + KviMessageColorsOptionsWidget(TQWidget * tqparent); ~KviMessageColorsOptionsWidget(); public: KviMessageListView * m_pListView; @@ -149,8 +154,8 @@ public: KviMessageColorListBoxItem * m_pForeItems[16]; KviMessageColorListBoxItem * m_pBackItems[17]; KviMessageListViewItem * m_pLastItem; - QCheckBox * m_pEnableLogging; - QToolButton * m_pIconButton; + TQCheckBox * m_pEnableLogging; + TQToolButton * m_pIconButton; KviTalPopupMenu * m_pIconPopup; public: void saveLastItem(); @@ -174,8 +179,9 @@ protected slots: class KviStandardColorsOptionsWidget : public KviOptionsWidget { Q_OBJECT + TQ_OBJECT public: - KviStandardColorsOptionsWidget(QWidget * par); + KviStandardColorsOptionsWidget(TQWidget * par); ~KviStandardColorsOptionsWidget(); }; |