summaryrefslogtreecommitdiffstats
path: root/ksirc/alistbox.h
diff options
context:
space:
mode:
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);