summaryrefslogtreecommitdiffstats
path: root/konversation/src/channellistpanel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-20 20:20:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-20 20:20:19 +0000
commitdf6d1c3c6fd22031d432af447798938c1d7e1877 (patch)
tree4f74f2a214b347b651f6df4cee9d3e47dbfa84db /konversation/src/channellistpanel.h
parent449e0b1b356e63cb4869fc6e0020134efa83825d (diff)
downloadkonversation-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/channellistpanel.h')
-rw-r--r--konversation/src/channellistpanel.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/konversation/src/channellistpanel.h b/konversation/src/channellistpanel.h
index fa51ddf..7f82f16 100644
--- a/konversation/src/channellistpanel.h
+++ b/konversation/src/channellistpanel.h
@@ -17,15 +17,15 @@
#include "chatwindow.h"
-#include <qtimer.h>
+#include <tqtimer.h>
-class QCheckBox;
-class QStringList;
-class QTimer;
-class QListView;
-class QListViewItem;
-class QPushButton;
+class TQCheckBox;
+class TQStringList;
+class TQTimer;
+class TQListView;
+class TQListViewItem;
+class TQPushButton;
class KListView;
class KLineEdit;
@@ -36,7 +36,7 @@ class ChannelListPanel : public ChatWindow
Q_OBJECT
public:
- explicit ChannelListPanel(QWidget* parent);
+ explicit ChannelListPanel(TQWidget* parent);
~ChannelListPanel();
virtual bool closeYourself();
@@ -44,17 +44,17 @@ class ChannelListPanel : public ChatWindow
signals:
void refreshChannelList();
- void joinChannel(const QString& channelName);
+ void joinChannel(const TQString& channelName);
void adjustMinValue(int num);
void adjustMaxValue(int num);
- void updateNumUsers(const QString& num);
- void updateNumChannels(const QString& num);
+ void updateNumUsers(const TQString& num);
+ void updateNumChannels(const TQString& num);
public slots:
- void addToChannelList(const QString& channel,int users,const QString& topic);
+ void addToChannelList(const TQString& channel,int users,const TQString& topic);
- virtual void appendInputText(const QString&, bool fromCursor);
- void setFilter(const QString& filter);
+ virtual void appendInputText(const TQString&, bool fromCursor);
+ void setFilter(const TQString& filter);
void applyFilterClicked();
@@ -67,12 +67,12 @@ class ChannelListPanel : public ChatWindow
void setMinUsers(int num);
void setMaxUsers(int num);
- void filterTextChanged(const QString& newText);
+ void filterTextChanged(const TQString& newText);
void channelTargetClicked();
void topicTargetClicked();
void regExpClicked();
- void contextMenu (KListView* l, QListViewItem* i, const QPoint& p);
+ void contextMenu (KListView* l, TQListViewItem* i, const TQPoint& p);
//Used to disable functions when not connected
virtual void serverOnline(bool online);
@@ -106,8 +106,8 @@ class ChannelListPanel : public ChatWindow
int getMinUsers();
int getMaxUsers();
- const QString& getFilterText();
- void applyFilterToItem(QListViewItem* item);
+ const TQString& getFilterText();
+ void applyFilterToItem(TQListViewItem* item);
void updateUsersChannels();
@@ -125,22 +125,22 @@ class ChannelListPanel : public ChatWindow
bool regExp;
// store channels to be inserted in ListView here first
- QStringList pendingChannels;
- QTimer updateTimer;
+ TQStringList pendingChannels;
+ TQTimer updateTimer;
- QCheckBox* channelFilter;
- QCheckBox* topicFilter;
- QCheckBox* regexpCheck;
+ TQCheckBox* channelFilter;
+ TQCheckBox* topicFilter;
+ TQCheckBox* regexpCheck;
- QPushButton* applyFilter;
- QPushButton* refreshListButton;
- QPushButton* joinChannelButton;
+ TQPushButton* applyFilter;
+ TQPushButton* refreshListButton;
+ TQPushButton* joinChannelButton;
KListView* channelListView;
KLineEdit* filterInput;
- QString filterText;
+ TQString filterText;
int m_oldSortColumn;
};