summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_servchan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSPrefs/page_servchan.cpp')
-rw-r--r--ksirc/KSPrefs/page_servchan.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/ksirc/KSPrefs/page_servchan.cpp b/ksirc/KSPrefs/page_servchan.cpp
index 4689bd2a..f7587947 100644
--- a/ksirc/KSPrefs/page_servchan.cpp
+++ b/ksirc/KSPrefs/page_servchan.cpp
@@ -9,18 +9,18 @@
#include "page_servchan.h"
-#include <qlistbox.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
+#include <tqlistbox.h>
+#include <tqlineedit.h>
+#include <tqpushbutton.h>
#include <kapplication.h>
#include <kconfig.h>
-PageServChan::PageServChan( QWidget *parent, const char *name ) : PageServChanBase( parent, name)
+PageServChan::PageServChan( TQWidget *parent, const char *name ) : PageServChanBase( parent, name)
{
- connect(serverDeleteItemPB, SIGNAL(pressed()), this, SLOT(deletePressedSL()));
- connect(ServerAddItemPB, SIGNAL(pressed()), this, SLOT(addPressedSL()));
- connect(chanDeleteItmPB, SIGNAL(pressed()), this, SLOT(deletePressedCL()));
- connect(ChanAddItemPB, SIGNAL(pressed()), this, SLOT(addPressedCL()));
+ connect(serverDeleteItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(deletePressedSL()));
+ connect(ServerAddItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(addPressedSL()));
+ connect(chanDeleteItmPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(deletePressedCL()));
+ connect(ChanAddItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(addPressedCL()));
}
@@ -30,10 +30,10 @@ PageServChan::~PageServChan()
void PageServChan::saveConfig()
{
- QStringList sLB;
+ TQStringList sLB;
uint i;
for(i = 0; i < serverLB->count(); i++){
- QString txt = serverLB->text(i);
+ TQString txt = serverLB->text(i);
if(!txt.isNull())
sLB << txt;
}
@@ -41,9 +41,9 @@ void PageServChan::saveConfig()
conf->setGroup("ServerList");
conf->writeEntry("RecentServers", sLB);
- QStringList sCL;
+ TQStringList sCL;
for(i = 0; i < channelLB->count(); i++){
- QString txt = channelLB->text(i);
+ TQString txt = channelLB->text(i);
if(!txt.isNull())
sCL << txt;
}
@@ -55,7 +55,7 @@ void PageServChan::readConfig( const KSOServChan * )
{
KConfig *conf = kapp->config();
conf->setGroup("ServerList");
- QStringList recent = conf->readListEntry("RecentServers");
+ TQStringList recent = conf->readListEntry("RecentServers");
recent.sort();
serverLB->insertStringList(recent);
conf->setGroup("Recent");
@@ -79,7 +79,7 @@ void PageServChan::deletePressedSL() {
void PageServChan::addPressedSL() {
uint i;
- QString txt = LineEdit6->text();
+ TQString txt = LineEdit6->text();
for(i = 0; i < serverLB->count(); i++){
if(txt == serverLB->text(i)){
@@ -111,7 +111,7 @@ void PageServChan::deletePressedCL() {
void PageServChan::addPressedCL() {
uint i;
- QString txt = LineEdit6_2->text();
+ TQString txt = LineEdit6_2->text();
for(i = 0; i < channelLB->count(); i++){
if(txt == channelLB->text(i)){