summaryrefslogtreecommitdiffstats
path: root/ksirc/chanButtons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/chanButtons.cpp')
-rw-r--r--ksirc/chanButtons.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/ksirc/chanButtons.cpp b/ksirc/chanButtons.cpp
index b7a4f307..482c96ad 100644
--- a/ksirc/chanButtons.cpp
+++ b/ksirc/chanButtons.cpp
@@ -28,15 +28,15 @@ chanButtons::chanButtons(KSircProcess *proc, TQWidget *parent, const char *name)
{
Popupmenu = new TDEPopupMenu( this );
Popupmenu->insertTitle(i18n("Channel Modes"));
- toggleMenu[0] = Popupmenu->insertItem(i18n("i (invite-only)"), this, TQT_SLOT(invite()));
- toggleMenu[1] = Popupmenu->insertItem(i18n("l (limited users)"), this, TQT_SLOT(limited()));
- toggleMenu[2] = Popupmenu->insertItem(i18n("k (key to join)"), this, TQT_SLOT(key()));
- toggleMenu[3] = Popupmenu->insertItem(i18n("s (secret)"), this, TQT_SLOT(secret()));
+ toggleMenu[0] = Popupmenu->insertItem(i18n("i (invite-only)"), this, TQ_SLOT(invite()));
+ toggleMenu[1] = Popupmenu->insertItem(i18n("l (limited users)"), this, TQ_SLOT(limited()));
+ toggleMenu[2] = Popupmenu->insertItem(i18n("k (key to join)"), this, TQ_SLOT(key()));
+ toggleMenu[3] = Popupmenu->insertItem(i18n("s (secret)"), this, TQ_SLOT(secret()));
Popupmenu->insertSeparator();
Popupmenu->insertTitle(i18n("User Modes"));
- toggleMenu[4] = Popupmenu->insertItem(i18n("i (be invisible)"), this, TQT_SLOT(invisible()));
- toggleMenu[5] = Popupmenu->insertItem(i18n("w (receive wallops)"), this, TQT_SLOT(wallops()));
- toggleMenu[6] = Popupmenu->insertItem(i18n("s (get server notices)"), this, TQT_SLOT(serverNotices()));
+ toggleMenu[4] = Popupmenu->insertItem(i18n("i (be invisible)"), this, TQ_SLOT(invisible()));
+ toggleMenu[5] = Popupmenu->insertItem(i18n("w (receive wallops)"), this, TQ_SLOT(wallops()));
+ toggleMenu[6] = Popupmenu->insertItem(i18n("s (get server notices)"), this, TQ_SLOT(serverNotices()));
layout = new TQHBoxLayout(this);
layout->setSpacing(0);
@@ -46,21 +46,21 @@ chanButtons::chanButtons(KSircProcess *proc, TQWidget *parent, const char *name)
protectButton->setToggleButton(true);
makeSquare(protectButton);
TQToolTip::add(protectButton, i18n("Only op'ed users can change the topic"));
- connect(protectButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(protectMode()));
+ connect(protectButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(protectMode()));
layout->addWidget(protectButton);
outsideButton = new TQPushButton(i18n("N"), this);
outsideButton->setToggleButton(true);
makeSquare(outsideButton);
TQToolTip::add(outsideButton, i18n("No outside messages"));
- connect(outsideButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(outsideMode()));
+ connect(outsideButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(outsideMode()));
layout->addWidget(outsideButton);
moderateButton = new TQPushButton(i18n("M"), this);
moderateButton->setToggleButton(true);
makeSquare(moderateButton);
TQToolTip::add(moderateButton, i18n("Only op'ed users and voiced users (+v) can speak"));
- connect(moderateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(moderateMode()));
+ connect(moderateButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(moderateMode()));
layout->addWidget(moderateButton);
menuButton = new TQPushButton(i18n("..."), this);
@@ -235,10 +235,10 @@ chanbuttonsDialog::chanbuttonsDialog(const type &modeType, TQWidget *parent,
Layout->addWidget(okButton);
switch (modeType) {
case limited:
- connect(okButton, TQT_SIGNAL(clicked()), TQT_SLOT(limitedUsers()));
+ connect(okButton, TQ_SIGNAL(clicked()), TQ_SLOT(limitedUsers()));
break;
case key:
- connect(okButton, TQT_SIGNAL(clicked()), TQT_SLOT(keyString()));
+ connect(okButton, TQ_SIGNAL(clicked()), TQ_SLOT(keyString()));
break;
}
@@ -248,7 +248,7 @@ chanbuttonsDialog::chanbuttonsDialog(const type &modeType, TQWidget *parent,
cancelButton->setSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1,
cancelButton->sizePolicy().hasHeightForWidth()));
Layout->addWidget(cancelButton);
- connect(cancelButton, TQT_SIGNAL(clicked()), TQT_SLOT(reject()));
+ connect(cancelButton, TQ_SIGNAL(clicked()), TQ_SLOT(reject()));
LimitedLayout->addLayout(Layout);
TQSpacerItem *spacer = new TQSpacerItem(20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding);