summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircsettings.cpp
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircsettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieirc/ircsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircsettings.cpp b/noncore/net/opieirc/ircsettings.cpp
index b110a5b..70d5445 100644
--- a/noncore/net/opieirc/ircsettings.cpp
+++ b/noncore/net/opieirc/ircsettings.cpp
@@ -1,24 +1,24 @@
1#include <opie/ocolorbutton.h> 1#include <opie/ocolorbutton.h>
2#include <opie/otabwidget.h> 2#include <opie/otabwidget.h>
3#include <qlayout.h> 3#include <qlayout.h>
4#include <qvalidator.h> 4#include <qvalidator.h>
5#include <qscrollview.h> 5#include <qscrollview.h>
6#include <qwhatsthis.h> 6#include <qwhatsthis.h>
7#include "ircsettings.h" 7#include "ircsettings.h"
8#include "irctab.h" 8#include "irctab.h"
9#include "ircmisc.h" 9#include "ircmisc.h"
10 10
11IRCSettings::IRCSettings(QWidget* parent, const char* name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) { 11IRCSettings::IRCSettings(QWidget* parent, const char* name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) {
12 setCaption("Settings"); 12 setCaption(tr("Settings") );
13 m_config = new Config("OpieIRC"); 13 m_config = new Config("OpieIRC");
14 m_config->setGroup("OpieIRC"); 14 m_config->setGroup("OpieIRC");
15 QHBoxLayout *l = new QHBoxLayout(this, 2, 2); 15 QHBoxLayout *l = new QHBoxLayout(this, 2, 2);
16 OTabWidget *tw = new OTabWidget(this); 16 OTabWidget *tw = new OTabWidget(this);
17 l->addWidget(tw); 17 l->addWidget(tw);
18 /* General Configuration */ 18 /* General Configuration */
19 QWidget *genwidget = new QWidget(tw); 19 QWidget *genwidget = new QWidget(tw);
20 QGridLayout *layout = new QGridLayout(genwidget, 1, 2, 5, 0); 20 QGridLayout *layout = new QGridLayout(genwidget, 1, 2, 5, 0);
21 QLabel *label = new QLabel(tr("Lines displayed :"), genwidget); 21 QLabel *label = new QLabel(tr("Lines displayed :"), genwidget);
22 layout->addWidget(label, 0, 0); 22 layout->addWidget(label, 0, 0);
23 m_lines = new QLineEdit(m_config->readEntry("Lines", "100"), genwidget); 23 m_lines = new QLineEdit(m_config->readEntry("Lines", "100"), genwidget);
24 QWhatsThis::add(m_lines, tr("Amount of lines to be displayed in chats before old lines get deleted - this is necessary to restrain memory consumption. Set to 0 if you don't need this")); 24 QWhatsThis::add(m_lines, tr("Amount of lines to be displayed in chats before old lines get deleted - this is necessary to restrain memory consumption. Set to 0 if you don't need this"));