diff options
| author | 2008-04-08 23:46:37 +0000 | |
|---|---|---|
| committer | 2008-04-08 23:46:37 +0000 | |
| commit | 86fc13a3dabbc218896247605a75f0c847af7839 (patch) | |
| tree | ec82ccf45e579411219600493b4b3c03fea16f74 /src/modules/options/optw_ctcp.cpp | |
| parent | TODO-cmake update (diff) | |
| download | KVIrc-86fc13a3dabbc218896247605a75f0c847af7839.tar.gz KVIrc-86fc13a3dabbc218896247605a75f0c847af7839.tar.bz2 KVIrc-86fc13a3dabbc218896247605a75f0c847af7839.zip | |
more code clean
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1440 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_ctcp.cpp')
| -rw-r--r-- | src/modules/options/optw_ctcp.cpp | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/modules/options/optw_ctcp.cpp b/src/modules/options/optw_ctcp.cpp index 3100189d6..46ef2a389 100644 --- a/src/modules/options/optw_ctcp.cpp +++ b/src/modules/options/optw_ctcp.cpp @@ -26,38 +26,30 @@ #include "kvi_locale.h" #include "kvi_options.h" -//#ifdef COMPILE_INFO_TIPS -// #include "kvi_tal_tooltip.h" -//#endif KviCtcpOptionsWidget::KviCtcpOptionsWidget(QWidget * parent) : KviOptionsWidget(parent,"ctcp_options_widget") { - createLayout(4,1); QLabel * l; l = addLabel(0,0,0,0,__tr2qs_ctx("<center><b>Settings for CTCP.</b></center>"\ - "<p>The <b>Client-To-Client Protocol</b> (CTCP) " \ - "is used to transmit special control messages over an IRC connection. " \ - "These messages can request information from clients or negotiate file transfers." \ - "<br><br></p>","options")); + "<p>The <b>Client-To-Client Protocol</b> (CTCP) " \ + "is used to transmit special control messages over an IRC connection. " \ + "These messages can request information from clients or negotiate file transfers." \ + "<br><br></p>","options")); KviTalGroupBox *gs = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("CTCP Replies","options")); KviStringSelector * s = addStringSelector(gs, __tr2qs_ctx("Append to VERSION reply:","options"),KviOption_stringCtcpVersionPostfix); -#ifdef COMPILE_INFO_TIPS mergeTip(s, __tr2qs_ctx("<center>This text will be appended to the CTCP VERSION reply.<br>For example, you can place a script name here.</center>","options")); -#endif s = addStringSelector(gs, __tr2qs_ctx("Append to SOURCE reply:","options"),KviOption_stringCtcpSourcePostfix); -#ifdef COMPILE_INFO_TIPS mergeTip(s, __tr2qs_ctx("<center>This text will be appended to the CTCP SOURCE reply.<br>For example, you can place the source URL for a script here.</center>","options")); -#endif // s = addStringSelector(gs, __tr2qs_ctx("USERINFO reply:","options"),KviOption_stringCtcpUserinfoReply); @@ -68,10 +60,8 @@ KviCtcpOptionsWidget::KviCtcpOptionsWidget(QWidget * parent) s = addStringSelector(gs, __tr2qs_ctx("PAGE reply:","options"),KviOption_stringCtcpPageReply); -#ifdef COMPILE_INFO_TIPS mergeTip(s, __tr2qs_ctx("<center>This is the CTCP PAGE reply.<br>It should contain some sort of acknowledgement for CTCP PAGE messages.</center>","options")); -#endif addBoolSelector(gs,__tr2qs_ctx("Show the CTCP replies in the active window","options"),KviOption_boolCtcpRepliesToActiveWindow); |
