diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/konqhtml/khttpoptdlg.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/konqhtml/khttpoptdlg.cpp')
-rw-r--r-- | kcontrol/konqhtml/khttpoptdlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kcontrol/konqhtml/khttpoptdlg.cpp b/kcontrol/konqhtml/khttpoptdlg.cpp index e6c9a95ba..ca175e8e9 100644 --- a/kcontrol/konqhtml/khttpoptdlg.cpp +++ b/kcontrol/konqhtml/khttpoptdlg.cpp @@ -1,37 +1,37 @@ // File khttpoptdlg.cpp by Jacek Konieczny <[email protected]> // Port to KControl by David Faure <[email protected]> -#include <qlayout.h> //CT +#include <tqlayout.h> //CT #include <klocale.h> #include <kglobal.h> #include "khttpoptdlg.h" -KHTTPOptions::KHTTPOptions(KConfig *config, QString group, QWidget *parent, const char *name) +KHTTPOptions::KHTTPOptions(KConfig *config, TQString group, TQWidget *parent, const char *name) : KCModule( parent, name ), m_pConfig(config), m_groupname(group) { - QVBoxLayout *lay = new QVBoxLayout(this, 10, 5); + TQVBoxLayout *lay = new TQVBoxLayout(this, 10, 5); - lay->addWidget( new QLabel(i18n("Accept languages:"), this) ); + lay->addWidget( new TQLabel(i18n("Accept languages:"), this) ); - le_languages = new QLineEdit(this); + le_languages = new TQLineEdit(this); lay->addWidget( le_languages ); - connect(le_languages, SIGNAL(textChanged(const QString&)), - this, SLOT(slotChanged())); + connect(le_languages, TQT_SIGNAL(textChanged(const TQString&)), + this, TQT_SLOT(slotChanged())); lay->addSpacing(10); - lay->addWidget( new QLabel(i18n("Accept character sets:"), this) ); + lay->addWidget( new TQLabel(i18n("Accept character sets:"), this) ); - le_charsets = new QLineEdit(this); + le_charsets = new TQLineEdit(this); lay->addWidget( le_charsets ); - connect(le_charsets, SIGNAL(textChanged(const QString&)), - this, SLOT(slotChanged())); + connect(le_charsets, TQT_SIGNAL(textChanged(const TQString&)), + this, TQT_SLOT(slotChanged())); lay->addStretch(10); - // defaultCharsets = QString("utf-8 ")+klocale->charset()+" iso-8859-1"; - defaultCharsets = QString("utf-8 ")+" iso-8859-1"; // TODO + // defaultCharsets = TQString("utf-8 ")+klocale->charset()+" iso-8859-1"; + defaultCharsets = TQString("utf-8 ")+" iso-8859-1"; // TODO // finaly read the options load(); @@ -44,7 +44,7 @@ void KHTTPOptions::load() void KHTTPOptions::load( bool useDefaults ) { - QString tmp; + TQString tmp; m_pConfig->setReadDefaults( useDefaults ); |