summaryrefslogtreecommitdiffstats
path: root/ksirc/alistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/alistbox.cpp')
-rw-r--r--ksirc/alistbox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksirc/alistbox.cpp b/ksirc/alistbox.cpp
index 779bd730..9702cd5e 100644
--- a/ksirc/alistbox.cpp
+++ b/ksirc/alistbox.cpp
@@ -23,11 +23,11 @@
#include <kglobal.h>
#include <kurldrag.h>
-aListBox::aListBox(TQWidget *parent, const char *name )
- : TQListBox(parent,name)
+aListBox::aListBox(TQWidget *tqparent, const char *name )
+ : TQListBox(tqparent,name)
{
clear();
- p_scroll = palette().copy();
+ p_scroll = TQPalette(tqpalette());
setAcceptDrops( true );
connect(this, TQT_SIGNAL(selected (const TQString&)),
this, TQT_SIGNAL(selectedNick(const TQString&)));
@@ -208,7 +208,7 @@ int aListBox::findNick(const TQString &str)
index = searchFor(str, found, FALSE);
if(found == TRUE)
return index;
-// debug("Did not find: %s", str.data());
+// debug("Did not tqfind: %s", str.data());
return -1;
}
@@ -402,25 +402,25 @@ void nickListItem::paint(TQPainter *p)
if(is_voice == TRUE){
TQPen open = p->pen();
p->setPen(ksopts->channelColor);
- p->drawText( nickPosX, yPos, "+" );
+ p->drawText( nickPosX, yPos, TQString("+") );
nickPosX += fm.width( "+" );
p->setPen(open);
-// p->fillRect(0,0, listBox()->maxItemWidth(), height(listBox()), TQBrush(ksopts->channelColor, Qt::Dense7Pattern));
+// p->fillRect(0,0, listBox()->maxItemWidth(), height(listBox()), TQBrush(ksopts->channelColor, TQt::Dense7Pattern));
}
if(is_op == TRUE) {
TQPen open = p->pen();
p->setPen(ksopts->errorColor);
- p->drawText( nickPosX, yPos, "@" );
+ p->drawText( nickPosX, yPos, TQString("@") );
nickPosX += fm.width( "@" );
p->setPen(open);
-// p->fillRect(0,0, listBox()->maxItemWidth(), height(listBox()), TQBrush(ksopts->errorColor, Qt::Dense7Pattern));
+// p->fillRect(0,0, listBox()->maxItemWidth(), height(listBox()), TQBrush(ksopts->errorColor, TQt::Dense7Pattern));
}
if(is_away == TRUE)
p->setPen(p->pen().color().dark(150));
if(is_ircop == TRUE){
TQPen open = p->pen();
p->setPen(ksopts->errorColor);
- p->drawText( nickPosX, yPos, "*" );
+ p->drawText( nickPosX, yPos, TQString("*") );
nickPosX += fm.width( "*" );
p->setPen(open);