summaryrefslogtreecommitdiffstats
path: root/ksirc/alistbox.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 /ksirc/alistbox.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 'ksirc/alistbox.h')
-rw-r--r--ksirc/alistbox.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/ksirc/alistbox.h b/ksirc/alistbox.h
index e1e4c2c9..d254c3ab 100644
--- a/ksirc/alistbox.h
+++ b/ksirc/alistbox.h
@@ -4,7 +4,7 @@
#include <tqlistbox.h>
#include "ksopts.h"
-class nickListItem : public QListBoxItem
+class nickListItem : public TQListBoxItem
{
public:
nickListItem();
@@ -47,12 +47,13 @@ protected:
const TQColor *forcedCol;
};
-class aListBox : public QListBox
+class aListBox : public TQListBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- aListBox(TQWidget *parent = 0, const char *name = 0);
+ aListBox(TQWidget *tqparent = 0, const char *name = 0);
virtual ~aListBox();
@@ -79,10 +80,10 @@ public:
virtual void fontChange( const TQFont &f );
- static TQString nickPrefixOp() { return TQString::fromLatin1( "o" ); }
- static TQString nickPrefixVoice() { return TQString::fromLatin1( "v" ); }
- static TQString nickPrefixAway() { return TQString::fromLatin1( "a" ); }
- static TQString nickPrefixIrcOp() { return TQString::fromLatin1( "O" ); }
+ static TQString nickPrefixOp() { return TQString::tqfromLatin1( "o" ); }
+ static TQString nickPrefixVoice() { return TQString::tqfromLatin1( "v" ); }
+ static TQString nickPrefixAway() { return TQString::tqfromLatin1( "a" ); }
+ static TQString nickPrefixIrcOp() { return TQString::tqfromLatin1( "O" ); }
signals:
void contextMenuRequested(int index);