diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-20 20:20:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-20 20:20:19 +0000 |
commit | df6d1c3c6fd22031d432af447798938c1d7e1877 (patch) | |
tree | 4f74f2a214b347b651f6df4cee9d3e47dbfa84db /konversation/src/statuspanel.h | |
parent | 449e0b1b356e63cb4869fc6e0020134efa83825d (diff) | |
download | konversation-df6d1c3c6fd22031d432af447798938c1d7e1877.tar.gz konversation-df6d1c3c6fd22031d432af447798938c1d7e1877.zip |
TQt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/konversation@1166088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konversation/src/statuspanel.h')
-rw-r--r-- | konversation/src/statuspanel.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/konversation/src/statuspanel.h b/konversation/src/statuspanel.h index 3704361..dcef517 100644 --- a/konversation/src/statuspanel.h +++ b/konversation/src/statuspanel.h @@ -15,13 +15,13 @@ #include "chatwindow.h" -#include <qstring.h> +#include <tqstring.h> -class QPushButton; -class QCheckBox; -class QLabel; -class QComboBox; +class TQPushButton; +class TQCheckBox; +class TQLabel; +class TQComboBox; class IRCInput; class NickChangeDialog; @@ -31,19 +31,19 @@ class StatusPanel : public ChatWindow Q_OBJECT public: - explicit StatusPanel(QWidget* parent); + explicit StatusPanel(TQWidget* parent); ~StatusPanel(); - virtual void setName(const QString& newName); + virtual void setName(const TQString& newName); - 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(); void setIdentity(const IdentityPtr identity); @@ -56,21 +56,21 @@ class StatusPanel : public ChatWindow void sendFile(); public slots: - void setNickname(const QString& newNickname); + void setNickname(const TQString& newNickname); virtual void indicateAway(bool show); void showNicknameBox(bool show); void updateAppearance(); - virtual void appendInputText(const QString&, bool fromCursor); + virtual void appendInputText(const TQString&, bool fromCursor); void updateName(); void serverSaysClose(); protected slots: void sendFileMenu(); void statusTextEntered(); - void sendStatusText(const QString& line); + void sendStatusText(const TQString& line); // connected to IRCInput::textPasted() - used for large/multiline pastes - void textPasted(const QString& text); - void changeNickname(const QString& newNickname); + void textPasted(const TQString& text); + void changeNickname(const TQString& newNickname); void nicknameComboboxChanged(); //Used to disable functions when not connected virtual void serverOnline(bool online); @@ -85,12 +85,12 @@ class StatusPanel : public ChatWindow bool awayChanged; bool awayState; - void showEvent(QShowEvent* event); + void showEvent(TQShowEvent* event); - QComboBox* nicknameCombobox; - QLabel* awayLabel; + TQComboBox* nicknameCombobox; + TQLabel* awayLabel; IRCInput* statusInput; - QCheckBox* logCheckBox; - QString oldNick; + TQCheckBox* logCheckBox; + TQString oldNick; }; #endif |