diff options
Diffstat (limited to 'src/modules/list/listwindow.h')
-rw-r--r-- | src/modules/list/listwindow.h | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/src/modules/list/listwindow.h b/src/modules/list/listwindow.h index 8e7d510e..c0103519 100644 --- a/src/modules/list/listwindow.h +++ b/src/modules/list/listwindow.h @@ -34,8 +34,8 @@ #include "kvi_tal_listview.h" #include "kvi_tal_popupmenu.h" -#include <qtoolbutton.h> -#include <qlineedit.h> +#include <tqtoolbutton.h> +#include <tqlineedit.h> class KviThemedLabel; @@ -44,13 +44,13 @@ class KviChannelListViewItemData friend class KviChannelListViewItem; friend class KviListWindow; public: - KviChannelListViewItemData(const QString &szChan,const QString &szUsers,const QString &szTopic); + KviChannelListViewItemData(const TQString &szChan,const TQString &szUsers,const TQString &szTopic); ~KviChannelListViewItemData(); protected: - QString m_szChan; - QString m_szUsers; - QString m_szTopic; - QString m_szUsersKey; + TQString m_szChan; + TQString m_szUsers; + TQString m_szTopic; + TQString m_szUsersKey; }; class KviChannelListViewItem : public KviTalListViewItem @@ -62,15 +62,15 @@ public: protected: KviChannelListViewItemData * m_pData; public: - const QString & channel(){ return m_pData->m_szChan; }; + const TQString & channel(){ return m_pData->m_szChan; }; #ifdef COMPILE_USE_QT4 - int width ( const QFontMetrics & fm, const KviTalListView * lv, int column ) const; + int width ( const TQFontMetrics & fm, const KviTalListView * lv, int column ) const; #else - int width ( const QFontMetrics & fm, const QListView * lv, int column ) const; + int width ( const TQFontMetrics & fm, const TQListView * lv, int column ) const; #endif protected: - virtual void paintCell(QPainter * p,const QColorGroup &cg,int col,int wdth,int align); - virtual QString key(int col,bool) const; + virtual void paintCell(TQPainter * p,const TQColorGroup &cg,int col,int wdth,int align); + virtual TQString key(int col,bool) const; }; @@ -78,30 +78,31 @@ protected: class KviListWindow : public KviWindow, public KviExternalServerDataParser { Q_OBJECT + TQ_OBJECT public: KviListWindow(KviFrame * lpFrm,KviConsole * lpConsole); ~KviListWindow(); protected: - QSplitter * m_pVertSplitter; - QSplitter * m_pTopSplitter; + TQSplitter * m_pVertSplitter; + TQSplitter * m_pTopSplitter; KviTalListView * m_pListView; - QLineEdit * m_pParamsEdit; - QToolButton * m_pRequestButton; - QToolButton * m_pStopListDownloadButton; - QToolButton * m_pOpenButton; - QToolButton * m_pSaveButton; + TQLineEdit * m_pParamsEdit; + TQToolButton * m_pRequestButton; + TQToolButton * m_pStopListDownloadButton; + TQToolButton * m_pOpenButton; + TQToolButton * m_pSaveButton; KviThemedLabel * m_pInfoLabel; - QTimer * m_pFlushTimer; + TQTimer * m_pFlushTimer; KviPointerList<KviChannelListViewItemData> * m_pItemList; public: // Methods virtual void control(int msg); virtual void processData(KviIrcMessage * msg); virtual void die(); protected: - virtual QPixmap * myIconPtr(); + virtual TQPixmap * myIconPtr(); virtual void fillCaptionBuffers(); virtual void applyOptions(); - virtual void resizeEvent(QResizeEvent *e); + virtual void resizeEvent(TQResizeEvent *e); virtual void getBaseLogFileName(KviStr &buffer); protected slots: void flush(); @@ -112,7 +113,7 @@ protected slots: void exportList(); void importList(); public: - virtual QSize sizeHint() const; + virtual TQSize tqsizeHint() const; private: void reset(); void endOfList(); |