diff options
Diffstat (limited to 'konversation/src/query.h')
-rw-r--r-- | konversation/src/query.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/konversation/src/query.h b/konversation/src/query.h index 882e3c7..af28087 100644 --- a/konversation/src/query.h +++ b/konversation/src/query.h @@ -16,15 +16,15 @@ #include "chatwindow.h" #include "nickinfo.h" -#include <qstring.h> +#include <tqstring.h> /* TODO: Idle counter to close query after XXX minutes of inactivity */ /* TODO: Use /USERHOST to check if queries are still valid */ -class QLineEdit; -class QCheckBox; -class QLabel; -class QSplitter; +class TQLineEdit; +class TQCheckBox; +class TQLabel; +class TQSplitter; class IRCInput; @@ -37,7 +37,7 @@ class Query : public ChatWindow Q_OBJECT public: - explicit Query(QWidget* parent, QString name); + explicit Query(TQWidget* parent, TQString name); virtual void setServer(Server* newServer); ~Query(); @@ -51,14 +51,14 @@ class Query : public ChatWindow * This should be fixed maybe? I don't know. */ NickInfoPtr getNickInfo(); - virtual QString getTextInLine(); + virtual TQString getTextInLine(); virtual bool closeYourself(bool askForConfirmation=true); virtual bool canBeFrontView(); virtual bool searchView(); - virtual void setChannelEncoding(const QString& encoding); - virtual QString getChannelEncoding(); - virtual QString getChannelEncodingDefaultDesc(); + virtual void setChannelEncoding(const TQString& encoding); + virtual TQString getChannelEncoding(); + virtual TQString getChannelEncodingDefaultDesc(); virtual void emitUpdateInfo(); virtual bool isInsertSupported() { return true; } @@ -66,15 +66,15 @@ class Query : public ChatWindow /** call this when you see a nick quit from the server. * @param reason The quit reason given by that user. */ - void quitNick(const QString& reason); + void quitNick(const TQString& reason); signals: - void sendFile(const QString& recipient); - void updateQueryChrome(ChatWindow*, const QString&); + void sendFile(const TQString& recipient); + void updateQueryChrome(ChatWindow*, const TQString&); public slots: - void sendQueryText(const QString& text); - void appendInputText(const QString& s, bool fromCursor); + void sendQueryText(const TQString& text); + void appendInputText(const TQString& s, bool fromCursor); virtual void indicateAway(bool show); void updateAppearance(); void setEncryptedOutput(bool); @@ -84,32 +84,32 @@ class Query : public ChatWindow void queryTextEntered(); void queryPassthroughCommand(); void sendFileMenu(); - void filesDropped(const QStrList& files); + void filesDropped(const TQStrList& files); // connected to IRCInput::textPasted() - used to handle large/multiline pastes - void textPasted(const QString& text); + void textPasted(const TQString& text); void popup(int id); void nickInfoChanged(); void closeWithoutAsking(); virtual void serverOnline(bool online); protected: - void setName(const QString& newName); - void showEvent(QShowEvent* event); + void setName(const TQString& newName); + void showEvent(TQShowEvent* event); /** Called from ChatWindow adjustFocus */ virtual void childAdjustFocus(); bool awayChanged; bool awayState; - QString queryName; - QString buffer; + TQString queryName; + TQString buffer; - QSplitter* m_headerSplitter; + TQSplitter* m_headerSplitter; Konversation::TopicLabel* queryHostmask; - QLabel* addresseeimage; - QLabel* addresseelogoimage; - QLabel* awayLabel; - QLabel* blowfishLabel; + TQLabel* addresseeimage; + TQLabel* addresseelogoimage; + TQLabel* awayLabel; + TQLabel* blowfishLabel; IRCInput* queryInput; NickInfoPtr m_nickInfo; |