summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_startup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSPrefs/page_startup.cpp')
-rw-r--r--ksirc/KSPrefs/page_startup.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/KSPrefs/page_startup.cpp b/ksirc/KSPrefs/page_startup.cpp
index 060da44d..e2ddfdc1 100644
--- a/ksirc/KSPrefs/page_startup.cpp
+++ b/ksirc/KSPrefs/page_startup.cpp
@@ -7,9 +7,9 @@
* *
***************************************************************************/
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlistbox.h>
+#include <tqlineedit.h>
+#include <tqpushbutton.h>
+#include <tqlistbox.h>
#include <kapplication.h>
#include <kconfig.h>
@@ -19,16 +19,16 @@
#include "page_startup.h"
-PageStartup::PageStartup( QWidget *parent, const char *name ) : PageStartupBase( parent, name)
+PageStartup::PageStartup( TQWidget *parent, const char *name ) : PageStartupBase( parent, name)
{
notifyLB->upButton()->hide();
notifyLB->downButton()->hide();
serverLB->upButton()->hide();
serverLB->downButton()->hide();
- QListBox *lb = serverLB->listBox();
- connect(lb, SIGNAL(highlighted(int)),
- this, SLOT(clickedLB(int)));
+ TQListBox *lb = serverLB->listBox();
+ connect(lb, TQT_SIGNAL(highlighted(int)),
+ this, TQT_SLOT(clickedLB(int)));
changing = false;
@@ -41,11 +41,11 @@ PageStartup::~PageStartup()
void PageStartup::saveConfig()
{
KSOServer glb = ksopts->server["global"];
- QStringList items = serverLB->items();
+ TQStringList items = serverLB->items();
ksopts->server.clear();
- QStringList::iterator it = items.begin();
+ TQStringList::iterator it = items.begin();
for( ; it != items.end(); ++it){
ksopts->server[*it] = server[*it];
}
@@ -65,7 +65,7 @@ void PageStartup::readConfig( const KSOptions *opts )
if(it.data().globalCopy == false)
serverLB->insertItem(it.key());
}
- QListBoxItem *item = serverLB->listBox()->findItem("global");
+ TQListBoxItem *item = serverLB->listBox()->findItem("global");
serverLB->listBox()->setSelected(item, true);
changing = false;
clickedLB(serverLB->listBox()->index(item));
@@ -82,7 +82,7 @@ void PageStartup::changed()
{
emit modified();
- QString ser = serverLB->currentText();
+ TQString ser = serverLB->currentText();
if(ser.isEmpty())
return;
@@ -106,7 +106,7 @@ void PageStartup::changed()
void PageStartup::clickedLB(int index)
{
- QString text = serverLB->text(index);
+ TQString text = serverLB->text(index);
if(!server.contains(text)){
server[text] = server["global"];
server[text].globalCopy = true;