summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_irc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_irc.cpp')
-rw-r--r--src/modules/options/optw_irc.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/options/optw_irc.cpp b/src/modules/options/optw_irc.cpp
index 56552a23..f39add08 100644
--- a/src/modules/options/optw_irc.cpp
+++ b/src/modules/options/optw_irc.cpp
@@ -31,8 +31,8 @@
#include <tqcombobox.h>
-KviIrcOptionsWidget::KviIrcOptionsWidget(TQWidget * tqparent)
-: KviOptionsWidget(tqparent,"irc_options_widget")
+KviIrcOptionsWidget::KviIrcOptionsWidget(TQWidget * parent)
+: KviOptionsWidget(parent,"irc_options_widget")
{
}
@@ -42,8 +42,8 @@ KviIrcOptionsWidget::~KviIrcOptionsWidget()
}
-KviIrcGeneralOptionsWidget::KviIrcGeneralOptionsWidget(TQWidget * tqparent)
-: KviOptionsWidget(tqparent,"irc_options_widget")
+KviIrcGeneralOptionsWidget::KviIrcGeneralOptionsWidget(TQWidget * parent)
+: KviOptionsWidget(parent,"irc_options_widget")
{
createLayout(3,1);
KviBoolSelector *b = addBoolSelector(0,0,0,0,__tr2qs_ctx("Minimize console after successful login","options"),KviOption_boolMinimizeConsoleAfterConnect);
@@ -68,8 +68,8 @@ KviIrcGeneralOptionsWidget::~KviIrcGeneralOptionsWidget()
-KviIrcAdvancedOptionsWidget::KviIrcAdvancedOptionsWidget(TQWidget * tqparent)
-: KviOptionsWidget(tqparent,"irc_advanced_options_widget")
+KviIrcAdvancedOptionsWidget::KviIrcAdvancedOptionsWidget(TQWidget * parent)
+: KviOptionsWidget(parent,"irc_advanced_options_widget")
{
createLayout(3,1);
KviBoolSelector *b = addBoolSelector(0,0,0,0,__tr2qs_ctx("Force immediate quit","options"),KviOption_boolForceBrutalQuit);
@@ -167,20 +167,20 @@ KviChannelAdvancedOptionsWidget::KviChannelAdvancedOptionsWidget(TQWidget * pPar
KviBoolSelector * b = addBoolSelector(0,0,4,0,__tr2qs_ctx("Log joined channels history","options"),KviOption_boolLogChannelHistory);
- addLabel(0,1,0,1,__tr2qs_ctx("Default ban tqmask:","options"));
+ addLabel(0,1,0,1,__tr2qs_ctx("Default ban mask:","options"));
m_pBanTypeCombo=new TQComboBox(this);
addWidgetToLayout(m_pBanTypeCombo,1,1,4,1);
- KviIrcMask hosttqmask("nick!user@machine.host.top");
- KviIrcMask iptqmask("nick!user@192.168.1.2");
+ KviIrcMask hostmask("nick!user@machine.host.top");
+ KviIrcMask ipmask("nick!user@192.168.1.2");
TQString tmp1;
TQString tmp2;
for(int i=0;i<=26;i++)
{
- hosttqmask.tqmask(tmp1,(KviIrcMask::MaskType)i);
- iptqmask.tqmask(tmp2,(KviIrcMask::MaskType)i);
+ hostmask.mask(tmp1,(KviIrcMask::MaskType)i);
+ ipmask.mask(tmp2,(KviIrcMask::MaskType)i);
m_pBanTypeCombo->insertItem(TQString("%1 (%2)").tqarg(tmp1).tqarg(tmp2));
}
m_pBanTypeCombo->setCurrentItem(KVI_OPTION_UINT(KviOption_uintDefaultBanType));