summaryrefslogtreecommitdiffstats
path: root/kstyles/highcontrast/config
diff options
context:
space:
mode:
Diffstat (limited to 'kstyles/highcontrast/config')
-rw-r--r--kstyles/highcontrast/config/highcontrastconfig.cpp22
-rw-r--r--kstyles/highcontrast/config/highcontrastconfig.h4
2 files changed, 13 insertions, 13 deletions
diff --git a/kstyles/highcontrast/config/highcontrastconfig.cpp b/kstyles/highcontrast/config/highcontrastconfig.cpp
index 33771f76c..233fb7365 100644
--- a/kstyles/highcontrast/config/highcontrastconfig.cpp
+++ b/kstyles/highcontrast/config/highcontrastconfig.cpp
@@ -24,40 +24,40 @@ DEALINGS IN THE SOFTWARE.
*/
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qsettings.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqsettings.h>
#include <kdialog.h>
#include <kglobal.h>
#include <klocale.h>
#include "highcontrastconfig.h"
-extern "C" KDE_EXPORT QWidget*
-allocate_kstyle_config(QWidget* parent)
+extern "C" KDE_EXPORT TQWidget*
+allocate_kstyle_config(TQWidget* parent)
{
return new HighContrastStyleConfig(parent);
}
HighContrastStyleConfig::HighContrastStyleConfig(
- QWidget* parent): QWidget(parent)
+ TQWidget* parent): TQWidget(parent)
{
// Should have no margins here, the dialog provides them
- QVBoxLayout* layout = new QVBoxLayout(this, 0, 0);
+ TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 0);
KGlobal::locale()->insertCatalogue("kstyle_highcontrast_config");
- wideLinesBox = new QCheckBox(i18n("Use wider lines"), this);
+ wideLinesBox = new TQCheckBox(i18n("Use wider lines"), this);
layout->add(wideLinesBox);
layout->addStretch(1);
- QSettings s;
+ TQSettings s;
originalWideLinesState = s.readBoolEntry(
"/highcontraststyle/Settings/wideLines", false);
wideLinesBox->setChecked(originalWideLinesState);
- connect(wideLinesBox, SIGNAL(toggled(bool)), SLOT(updateChanged()));
+ connect(wideLinesBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateChanged()));
}
HighContrastStyleConfig::~HighContrastStyleConfig()
@@ -69,7 +69,7 @@ HighContrastStyleConfig::~HighContrastStyleConfig()
void
HighContrastStyleConfig::save()
{
- QSettings s;
+ TQSettings s;
s.writeEntry("/highcontraststyle/Settings/wideLines",
wideLinesBox->isChecked());
}
diff --git a/kstyles/highcontrast/config/highcontrastconfig.h b/kstyles/highcontrast/config/highcontrastconfig.h
index 26d8a0593..26bd2ff4b 100644
--- a/kstyles/highcontrast/config/highcontrastconfig.h
+++ b/kstyles/highcontrast/config/highcontrastconfig.h
@@ -33,7 +33,7 @@ class HighContrastStyleConfig: public QWidget
{
Q_OBJECT
public:
- HighContrastStyleConfig(QWidget* parent);
+ HighContrastStyleConfig(TQWidget* parent);
~HighContrastStyleConfig();
// This signal and the next two slots are the plugin
@@ -52,7 +52,7 @@ protected slots:
protected:
// We store settings directly in widgets to
// avoid the hassle of sync'ing things
- QCheckBox* wideLinesBox;
+ TQCheckBox* wideLinesBox;
// Original settings, for accurate dirtiness tracking
bool originalWideLinesState;