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/ebrowsing/plugins/ikws/searchproviderdlg.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/ebrowsing/plugins/ikws/searchproviderdlg.cpp')
-rw-r--r-- | kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp b/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp index ca7161b1c..586f947ff 100644 --- a/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp @@ -16,10 +16,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qlayout.h> -#include <qpushbutton.h> -#include <qwhatsthis.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqpushbutton.h> +#include <tqwhatsthis.h> #include <kapplication.h> #include <klocale.h> @@ -34,8 +34,8 @@ #include "searchprovider.h" SearchProviderDialog::SearchProviderDialog(SearchProvider *provider, - QWidget *parent, const char *name) - :KDialogBase(parent, name, true, QString::null, Ok|Cancel), + TQWidget *parent, const char *name) + :KDialogBase(parent, name, true, TQString::null, Ok|Cancel), m_provider(provider) { m_dlg = new SearchProviderDlgUI (this); @@ -45,12 +45,12 @@ SearchProviderDialog::SearchProviderDialog(SearchProvider *provider, m_dlg->leQuery->setMinimumWidth(kapp->fontMetrics().maxWidth() * 40); - connect(m_dlg->leName, SIGNAL(textChanged(const QString &)), SLOT(slotChanged())); - connect(m_dlg->leQuery, SIGNAL(textChanged(const QString &)), SLOT(slotChanged())); - connect(m_dlg->leShortcut, SIGNAL(textChanged(const QString &)), SLOT(slotChanged())); + connect(m_dlg->leName, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); + connect(m_dlg->leQuery, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); + connect(m_dlg->leShortcut, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); // Data init - QStringList charsets = KGlobal::charsets()->availableEncodingNames(); + TQStringList charsets = KGlobal::charsets()->availableEncodingNames(); charsets.prepend(i18n("Default")); m_dlg->cbCharset->insertStringList(charsets); @@ -86,15 +86,15 @@ void SearchProviderDialog::slotOk() i18n("The URI does not contain a \\{...} placeholder for the user query.\n" "This means that the same page is always going to be visited, " "regardless of what the user types."), - QString::null, i18n("Keep It")) == KMessageBox::Cancel) + TQString::null, i18n("Keep It")) == KMessageBox::Cancel) return; if (!m_provider) m_provider = new SearchProvider; m_provider->setName(m_dlg->leName->text().stripWhiteSpace()); m_provider->setQuery(m_dlg->leQuery->text().stripWhiteSpace()); - m_provider->setKeys(QStringList::split(",", m_dlg->leShortcut->text().stripWhiteSpace())); - m_provider->setCharset(m_dlg->cbCharset->currentItem() ? m_dlg->cbCharset->currentText() : QString::null); + m_provider->setKeys(TQStringList::split(",", m_dlg->leShortcut->text().stripWhiteSpace())); + m_provider->setCharset(m_dlg->cbCharset->currentItem() ? m_dlg->cbCharset->currentText() : TQString::null); KDialog::accept(); } |