summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ui/channellist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/irc/ui/channellist.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/irc/ui/channellist.h')
-rw-r--r--kopete/protocols/irc/ui/channellist.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kopete/protocols/irc/ui/channellist.h b/kopete/protocols/irc/ui/channellist.h
index 229bf4c6..d907efcb 100644
--- a/kopete/protocols/irc/ui/channellist.h
+++ b/kopete/protocols/irc/ui/channellist.h
@@ -35,12 +35,13 @@ class TQSpinBox;
class TQListViewItem;
class ChannelList
- : public QWidget
+ : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- ChannelList( TQWidget *parent, KIRC::Engine *engine );
+ ChannelList( TQWidget *tqparent, KIRC::Engine *engine );
public slots:
void search();
@@ -57,7 +58,7 @@ class ChannelList
void slotChannelListed( const TQString & channel, uint users, const TQString & topic );
void slotListEnd();
void slotSearchCache();
- void slotStatusChanged( KIRC::Engine::Status );
+ void slotStatusChanged( KIRC::Engine::tqStatus );
private:
void checkSearchResult( const TQString & channel, uint users, const TQString & topic );
@@ -68,13 +69,13 @@ class ChannelList
TQPushButton* mSearchButton;
KListView* mChannelList;
TQVBoxLayout* ChannelListLayout;
- TQHBoxLayout* layout72_2;
+ TQHBoxLayout* tqlayout72_2;
KIRC::Engine *m_engine;
bool mSearching;
TQString mSearch;
uint mUsers;
- TQMap< TQString, QPair< uint, TQString > > channelCache;
- TQMap< TQString, QPair< uint, TQString > >::const_iterator cacheIterator;
+ TQMap< TQString, TQPair< uint, TQString > > channelCache;
+ TQMap< TQString, TQPair< uint, TQString > >::const_iterator cacheIterator;
};
#endif