summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/settings/previewoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/dialogs/settings/previewoptions.cpp')
-rw-r--r--quanta/dialogs/settings/previewoptions.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/dialogs/settings/previewoptions.cpp b/quanta/dialogs/settings/previewoptions.cpp
index c445c52d..2df03ea9 100644
--- a/quanta/dialogs/settings/previewoptions.cpp
+++ b/quanta/dialogs/settings/previewoptions.cpp
@@ -17,13 +17,13 @@
#include "previewoptions.h"
#include "previewoptions.moc"
// qt includes
-#include <qradiobutton.h>
-#include <qcheckbox.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
// kde includes
#include <klocale.h>
#include <kmessagebox.h>
-PreviewOptions::PreviewOptions(QWidget *parent, const char *name)
+PreviewOptions::PreviewOptions(TQWidget *parent, const char *name)
: PreviewOptionsS(parent,name)
{
}
@@ -31,50 +31,50 @@ PreviewOptions::PreviewOptions(QWidget *parent, const char *name)
PreviewOptions::~PreviewOptions(){
}
-void PreviewOptions::setWindowLayout(const QString& layout )
+void PreviewOptions::setWindowLayout(const TQString& layout )
{
if ( layout == "Default") resetLayout->setChecked(true);
else resetLayout->setChecked(false);
}
-void PreviewOptions::setPosition(const QString& position )
+void PreviewOptions::setPosition(const TQString& position )
{
radioEditor->setChecked(true);
if ( position == "Toolview" ) radioToolview->setChecked(true);
}
-QString PreviewOptions::position()
+TQString PreviewOptions::position()
{
- QString position = "Editor";
+ TQString position = "Editor";
if ( radioToolview->isChecked() )
position = "Toolview";
return position;
}
-void PreviewOptions::setDocPosition(const QString &position)
+void PreviewOptions::setDocPosition(const TQString &position)
{
radioNewDocTab->setChecked(true);
if (position == "Toolview") radioSeparateDocView->setChecked(true);
}
-QString PreviewOptions::docPosition()
+TQString PreviewOptions::docPosition()
{
- QString position = "Tab";
+ TQString position = "Tab";
if (radioSeparateDocView->isChecked()) position = "Toolview";
return position;
}
-QString PreviewOptions::layout()
+TQString PreviewOptions::layout()
{
- QString layout = "Custom";
+ TQString layout = "Custom";
if ( resetLayout->isChecked() )
layout = "Default";
return layout;
}
-QString PreviewOptions::closeButtons()
+TQString PreviewOptions::closeButtons()
{
- QString closeButtonState = "ShowAlways";
+ TQString closeButtonState = "ShowAlways";
if (radioDelayedCloseButtons->isChecked())
closeButtonState = "ShowDelayed";
if (radioNoCloseButtons->isChecked())
@@ -82,7 +82,7 @@ QString PreviewOptions::closeButtons()
return closeButtonState;
}
-void PreviewOptions::setCloseButtons(const QString &state)
+void PreviewOptions::setCloseButtons(const TQString &state)
{
if (state == "ShowAlways") radioShowCloseButtons->setChecked(true);
if (state == "ShowDelayed") radioDelayedCloseButtons->setChecked(true);