summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/kuick/kcmkuick/kcmkuick.cpp')
-rw-r--r--konq-plugins/kuick/kcmkuick/kcmkuick.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
index fdbf5c0..27459ee 100644
--- a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
+++ b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp
@@ -14,8 +14,8 @@
#include "kcmkuick.h"
-#include <qlayout.h>
-#include <qfile.h>
+#include <tqlayout.h>
+#include <tqfile.h>
#include <kglobal.h>
#include <klocale.h>
#include <kconfig.h>
@@ -24,16 +24,16 @@
#include <kstandarddirs.h>
#include <kservice.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qstring.h>
+#include <tqcheckbox.h>
+#include <tqgroupbox.h>
+#include <tqpushbutton.h>
+#include <tqspinbox.h>
+#include <tqstring.h>
-typedef KGenericFactory<KCMKuick, QWidget> KuickFactory;
+typedef KGenericFactory<KCMKuick, TQWidget> KuickFactory;
K_EXPORT_COMPONENT_FACTORY ( kcm_kuick, KuickFactory( "kcmkuick" ) )
-KCMKuick::KCMKuick(QWidget *parent, const char *name, const QStringList &)
+KCMKuick::KCMKuick(TQWidget *parent, const char *name, const TQStringList &)
:KCModule(parent, name)
{
KAboutData *ab=new KAboutData( "kcmkuick", I18N_NOOP("KCM Kuick"),
@@ -42,16 +42,16 @@ KCMKuick::KCMKuick(QWidget *parent, const char *name, const QStringList &)
ab->addAuthor("Holger Freyther",0, "freyther@kde.org");
setAboutData( ab );
- QVBoxLayout *topLayout = new QVBoxLayout(this, 0, 0);
+ TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, 0);
dialog = new KCMKuickDialog(this);
topLayout->add(dialog);
topLayout->addStretch();
- connect( dialog->m_sbCopy, SIGNAL(valueChanged(int) ), SLOT(configChanged() ) );
- connect( dialog->m_sbMove, SIGNAL(valueChanged(int) ), SLOT(configChanged() ) );
- connect( dialog->pbCopyClear, SIGNAL(pressed() ), SLOT(slotClearCopyCache() ) );
- connect( dialog->pbMoveClear, SIGNAL(pressed() ), SLOT(slotClearMoveCache() ) );
- connect( dialog->m_chkShow, SIGNAL(clicked() ), SLOT(slotShowToggled() ) );
+ connect( dialog->m_sbCopy, TQT_SIGNAL(valueChanged(int) ), TQT_SLOT(configChanged() ) );
+ connect( dialog->m_sbMove, TQT_SIGNAL(valueChanged(int) ), TQT_SLOT(configChanged() ) );
+ connect( dialog->pbCopyClear, TQT_SIGNAL(pressed() ), TQT_SLOT(slotClearCopyCache() ) );
+ connect( dialog->pbMoveClear, TQT_SIGNAL(pressed() ), TQT_SLOT(slotClearMoveCache() ) );
+ connect( dialog->m_chkShow, TQT_SIGNAL(clicked() ), TQT_SLOT(slotShowToggled() ) );
load();
}
@@ -86,7 +86,7 @@ KCMKuick::~KCMKuick()
{
}
-void KCMKuick::load(const QString & /*s*/)
+void KCMKuick::load(const TQString & /*s*/)
{
}
@@ -108,8 +108,8 @@ void KCMKuick::save()
config.sync(); //is it necessary ?
if ( dialog->m_chkShow->isChecked() ) {
- QString servicespath = KGlobal::dirs()->saveLocation( "services");
- QFile::remove(servicespath+"/kuick_plugin.desktop");
+ TQString servicespath = KGlobal::dirs()->saveLocation( "services");
+ TQFile::remove(servicespath+"/kuick_plugin.desktop");
}
else {
KConfig cfg("kuick_plugin.desktop", false, false, "services");
@@ -124,14 +124,14 @@ void KCMKuick::save()
void KCMKuick::slotClearCopyCache( ) {
KConfig config("konquerorrc");
config.setGroup("kuick-copy" );
- config.writePathEntry("Paths", QStringList() );
+ config.writePathEntry("Paths", TQStringList() );
config.sync(); //is it necessary ?
}
void KCMKuick::slotClearMoveCache() {
KConfig config("konquerorrc");
config.setGroup("kuick-move" );
- config.writePathEntry("Paths", QStringList() );
+ config.writePathEntry("Paths", TQStringList() );
config.sync(); //is it necessary ?
}
@@ -146,7 +146,7 @@ void KCMKuick::defaults()
emit changed( true );
}
-QString KCMKuick::quickHelp() const
+TQString KCMKuick::quickHelp() const
{
return i18n("<h1>Kuick</h1> With this module you can configure Kuick, the KDE quick"
"copy and move plugin for Konqueror.");