summaryrefslogtreecommitdiffstats
path: root/ksirc/chanButtons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/chanButtons.cpp')
-rw-r--r--ksirc/chanButtons.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/chanButtons.cpp b/ksirc/chanButtons.cpp
index 26b09ffd..5aafba1c 100644
--- a/ksirc/chanButtons.cpp
+++ b/ksirc/chanButtons.cpp
@@ -38,37 +38,37 @@ chanButtons::chanButtons(KSircProcess *proc, TQWidget *parent, const char *name)
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()));
- tqlayout = new TQHBoxLayout(this);
- tqlayout->setSpacing(0);
- tqlayout->setMargin(0);
+ layout = new TQHBoxLayout(this);
+ layout->setSpacing(0);
+ layout->setMargin(0);
protectButton = new TQPushButton(i18n("T"), this);
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()));
- tqlayout->addWidget(protectButton);
+ 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()));
- tqlayout->addWidget(outsideButton);
+ 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()));
- tqlayout->addWidget(moderateButton);
+ layout->addWidget(moderateButton);
menuButton = new TQPushButton(i18n("..."), this);
makeSquare(menuButton);
menuButton->setFixedWidth(menuButton->width()*2);
menuButton->setPopup(Popupmenu);
TQToolTip::add(menuButton, i18n("More mode commands"));
- tqlayout->addWidget(menuButton);
+ layout->addWidget(menuButton);
}
void chanButtons::invite()