summaryrefslogtreecommitdiffstats
path: root/client/config/polyesterconfig.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/config/polyesterconfig.cc')
-rwxr-xr-xclient/config/polyesterconfig.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/client/config/polyesterconfig.cc b/client/config/polyesterconfig.cc
index c526504..24c5ce8 100755
--- a/client/config/polyesterconfig.cc
+++ b/client/config/polyesterconfig.cc
@@ -13,13 +13,13 @@
#include <kconfig.h>
#include <klocale.h>
#include <kglobal.h>
-#include <qbuttongroup.h>
-#include <qgroupbox.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qspinbox.h>
-#include <qwhatsthis.h>
-#include <qcombobox.h>
+#include <tqbuttongroup.h>
+#include <tqgroupbox.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqspinbox.h>
+#include <tqwhatsthis.h>
+#include <tqcombobox.h>
#include "polyesterconfig.h"
#include "configdialog.h"
@@ -29,8 +29,8 @@
// -------------
// Constructor
-polyesterConfig::polyesterConfig(KConfig* config, QWidget* parent)
- : QObject(parent), config_(0), dialog_(0) {
+polyesterConfig::polyesterConfig(KConfig* config, TQWidget* parent)
+ : TQObject(parent), config_(0), dialog_(0) {
// create the configuration object
config_ = new KConfig("kwinpolyesterrc");
KGlobal::locale()->insertCatalogue("kwin_polyester_config");
@@ -107,8 +107,8 @@ void polyesterConfig::selectionChanged(int) {
void polyesterConfig::load(KConfig*) {
config_->setGroup("General");
- QString value = config_->readEntry("TitleAlignment", "AlignHCenter");
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->child(value);
+ TQString value = config_->readEntry("TitleAlignment", "AlignHCenter");
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->child(value);
if (button)
{
button->setChecked(true);
@@ -144,10 +144,10 @@ void polyesterConfig::load(KConfig*) {
void polyesterConfig::save(KConfig*) {
config_->setGroup("General");
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->selected();
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->selected();
if (button)
{
- config_->writeEntry("TitleAlignment", QString(button->name()));
+ config_->writeEntry("TitleAlignment", TQString(button->name()));
}
config_->writeEntry("RoundCorners", dialog_->roundCorners->isChecked() );
config_->writeEntry("TitleSize", dialog_->titlesize->value() );
@@ -172,7 +172,7 @@ void polyesterConfig::save(KConfig*) {
// Set configuration defaults
void polyesterConfig::defaults() {
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->child("AlignHCenter");
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->child("AlignHCenter");
if (button)
{
button->setChecked(true);
@@ -197,7 +197,7 @@ void polyesterConfig::defaults() {
//////////////////////////////////////////////////////////////////////////////
extern "C" {
- QObject* allocate_config(KConfig* config, QWidget* parent) {
+ TQObject* allocate_config(KConfig* config, TQWidget* parent) {
return (new polyesterConfig(config, parent));
}
}