diff options
Diffstat (limited to 'src/kvirc/ui/kvi_query.h')
-rw-r--r-- | src/kvirc/ui/kvi_query.h | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/src/kvirc/ui/kvi_query.h b/src/kvirc/ui/kvi_query.h index ba087acb..3b1a81bc 100644 --- a/src/kvirc/ui/kvi_query.h +++ b/src/kvirc/ui/kvi_query.h @@ -1,5 +1,5 @@ -#ifndef _KVI_QUERY_H_ -#define _KVI_QUERY_H_ +#ifndef _KVI_TQUERY_H_ +#define _KVI_TQUERY_H_ //============================================================================= // // File : kvi_query.h @@ -36,56 +36,57 @@ class KviConsole; class KviConfig; -class QSplitter; +class TQSplitter; class KviWindowToolPageButton; -#define KVI_QUERY_FLAG_DEAD 1 +#define KVI_TQUERY_FLAG_DEAD 1 class KVIRC_API KviQuery : public KviWindow { Q_OBJECT + TQ_OBJECT public: - KviQuery(KviFrame * lpFrm,KviConsole * lpConsole,const QString &nick); + KviQuery(KviFrame * lpFrm,KviConsole * lpConsole,const TQString &nick); ~KviQuery(); protected: KviUserListView * m_pUserListView; KviWindowToolPageButton * m_pListViewButton; int m_iFlags; KviThemedLabel * m_pLabel; - QFrame * m_pButtonGrid; + TQFrame * m_pButtonGrid; protected: - virtual QPixmap * myIconPtr(); + virtual TQPixmap * myIconPtr(); virtual void fillCaptionBuffers(); - virtual void resizeEvent(QResizeEvent *e); + virtual void resizeEvent(TQResizeEvent *e); virtual void loadProperties(KviConfig * cfg); virtual void saveProperties(KviConfig * cfg); - virtual void getBaseLogFileName(QString &buffer); + virtual void getBaseLogFileName(TQString &buffer); virtual void triggerCreationEvents(); public: void setDeadQuery(); void setAliveQuery(); - bool isDeadQuery(){ return m_iFlags & KVI_QUERY_FLAG_DEAD; }; - virtual QSize sizeHint() const; - virtual const QString & target(){ return windowName(); }; + bool isDeadQuery(){ return m_iFlags & KVI_TQUERY_FLAG_DEAD; }; + virtual TQSize tqsizeHint() const; + virtual const TQString & target(){ return windowName(); }; virtual void applyOptions(); - KviUserListEntry * setTarget(const QString &nick,const QString &user,const QString &host); + KviUserListEntry * setTarget(const TQString &nick,const TQString &user,const TQString &host); void userAction(KviIrcMask *user,unsigned int uActionType); - void userAction(const QString &nick,unsigned int uActionType); - void userAction(const QString &nick,const QString &user,const QString &host,unsigned int uActionType); - bool nickChange(const QString &oldNick,const QString &newNick); - void ownMessage(const QString &buffer); - void ownAction(const QString &buffer); + void userAction(const TQString &nick,unsigned int uActionType); + void userAction(const TQString &nick,const TQString &user,const TQString &host,unsigned int uActionType); + bool nickChange(const TQString &oldNick,const TQString &newNick); + void ownMessage(const TQString &buffer); + void ownAction(const TQString &buffer); int selectedCount(){ return m_pUserListView->selectedCount(); }; - bool avatarChanged(const QString &nick){ return m_pUserListView->avatarChanged(nick); }; - void notifyCommonChannels(const QString &nick,const QString &user,const QString &host,int iChans,const QString &szChans); + bool avatarChanged(const TQString &nick){ return m_pUserListView->avatarChanged(nick); }; + void notifyCommonChannels(const TQString &nick,const TQString &user,const TQString &host,int iChans,const TQString &szChans); void showListView(bool bShow); void mergeQuery(KviQuery * q); void updateLabelText(); - QFrame * buttonContainer() { return (QFrame*)m_pButtonGrid; }; + TQFrame * buttonContainer() { return (TQFrame*)m_pButtonGrid; }; protected: - void notifyTargetChange(const QString &oldNick,const QString &oldUser,const QString &oldHost,const QString &nick,const QString &user,const QString &host); - QString getInfoLabelText(); - QString getInfoLabelTipText(); + void notifyTargetChange(const TQString &oldNick,const TQString &oldUser,const TQString &oldHost,const TQString &nick,const TQString &user,const TQString &host); + TQString getInfoLabelText(); + TQString getInfoLabelTipText(); protected slots: void textViewRightClicked(); void toggleListView(); |