summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_rmbmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSPrefs/page_rmbmenu.cpp')
-rw-r--r--ksirc/KSPrefs/page_rmbmenu.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/ksirc/KSPrefs/page_rmbmenu.cpp b/ksirc/KSPrefs/page_rmbmenu.cpp
index 7baf5da5..de30a829 100644
--- a/ksirc/KSPrefs/page_rmbmenu.cpp
+++ b/ksirc/KSPrefs/page_rmbmenu.cpp
@@ -8,11 +8,11 @@
#include "page_rmbmenu.h"
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qlistbox.h>
-#include <qpushbutton.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqlistbox.h>
+#include <tqpushbutton.h>
#include <kdebug.h>
@@ -20,7 +20,7 @@
-PageRMBMenu::PageRMBMenu( QWidget *parent, const char *name ) : PageRMBMenuBase( parent, name)
+PageRMBMenu::PageRMBMenu( TQWidget *parent, const char *name ) : PageRMBMenuBase( parent, name)
{
UserControlMenu *ucm;
@@ -41,21 +41,21 @@ PageRMBMenu::PageRMBMenu( QWidget *parent, const char *name ) : PageRMBMenuBase(
changeItemPB->hide();
- connect(commandLB, SIGNAL(highlighted( int )),
- this, SLOT(highlighted( int )));
- connect(moveUpPB, SIGNAL(clicked()),
- this, SLOT(moveDown()));
- connect(moveDownPB, SIGNAL(clicked()),
- this, SLOT(moveUp()));
+ connect(commandLB, TQT_SIGNAL(highlighted( int )),
+ this, TQT_SLOT(highlighted( int )));
+ connect(moveUpPB, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(moveDown()));
+ connect(moveDownPB, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(moveUp()));
- connect(insertSeperatorPB, SIGNAL(clicked()),
- this, SLOT(insSeperator()));
+ connect(insertSeperatorPB, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(insSeperator()));
- connect(insertItemPB, SIGNAL(clicked()),
- this, SLOT(insCommand()));
+ connect(insertItemPB, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(insCommand()));
- connect(deleteItemPB, SIGNAL(clicked()),
- this, SLOT(delCommand()));
+ connect(deleteItemPB, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(delCommand()));
}
@@ -122,7 +122,7 @@ void PageRMBMenu::moveUp()
{
int item = commandLB->currentItem();
- QString txt = commandLB->text(item);
+ TQString txt = commandLB->text(item);
commandLB->removeItem(item);
commandLB->insertItem(txt, item-1);
@@ -139,7 +139,7 @@ void PageRMBMenu::moveDown()
{
int item = commandLB->currentItem();
- QString txt = commandLB->text(item);
+ TQString txt = commandLB->text(item);
commandLB->removeItem(item);
commandLB->insertItem(txt, item+1);
@@ -156,7 +156,7 @@ void PageRMBMenu::insSeperator()
{
int item = commandLB->currentItem();
- QString txt = commandLB->text(item);
+ TQString txt = commandLB->text(item);
commandLB->insertItem("--------------", item);
commandLB->setCurrentItem(item);
@@ -171,8 +171,8 @@ void PageRMBMenu::insCommand()
{
int item = commandLB->currentItem();
- QString te = entryLE->text();
- QString ce = commandLE->text();
+ TQString te = entryLE->text();
+ TQString ce = commandLE->text();
commandLB->insertItem(te, item);
commandLB->setCurrentItem(item);
@@ -193,7 +193,7 @@ void PageRMBMenu::delCommand()
{
int item = commandLB->currentItem();
- QString txt = commandLB->text(item);
+ TQString txt = commandLB->text(item);
commandLB->removeItem(item);
UserControlMenu::UserMenu.remove(item);