summaryrefslogtreecommitdiffstats
path: root/kate/katesort/src/sortdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/katesort/src/sortdialog.cpp')
-rw-r--r--kate/katesort/src/sortdialog.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kate/katesort/src/sortdialog.cpp b/kate/katesort/src/sortdialog.cpp
index d46746b..0ebaed8 100644
--- a/kate/katesort/src/sortdialog.cpp
+++ b/kate/katesort/src/sortdialog.cpp
@@ -21,34 +21,34 @@
#include "sortdialog.h"
#include "kconfig.h"
-#include <qwhatsthis.h>
+#include <tqwhatsthis.h>
-SortDialog::SortDialog ( QWidget* parent, const char* name, bool modal, WFlags fl )
+SortDialog::SortDialog ( TQWidget* parent, const char* name, bool modal, WFlags fl )
: sortdialoglayout ( parent,name, modal,fl )
{
// set labels
- QWhatsThis::add(m_radioButtonAsc,i18n(
+ TQWhatsThis::add(m_radioButtonAsc,i18n(
"Sort in ascending order "
"(from A to Z or 0 to 9)."));
- QWhatsThis::add(m_radioButtonDesc,i18n(
+ TQWhatsThis::add(m_radioButtonDesc,i18n(
"Sort in descending order "
"(from Z to A or 9 to 0)."));
- QWhatsThis::add(m_checkBoxCase,i18n(
+ TQWhatsThis::add(m_checkBoxCase,i18n(
"Check this for case sensitive sort."));
- QWhatsThis::add(m_checkBoxUnique,i18n(
+ TQWhatsThis::add(m_checkBoxUnique,i18n(
"Check this to removed all duplicated records."));
- QWhatsThis::add(m_checkBoxByCol,i18n(
+ TQWhatsThis::add(m_checkBoxByCol,i18n(
"Check this for sorting by specific column.\n\n"
"If a part of one line is selected, "
"this checkbox is automatically selected. "
"Start and end fields are filled according to selection."));
- QWhatsThis::add(m_lineEditStartCol,i18n(
+ TQWhatsThis::add(m_lineEditStartCol,i18n(
"Start column of the sorting area."));
- QWhatsThis::add(m_lineEditEndCol,i18n(
+ TQWhatsThis::add(m_lineEditEndCol,i18n(
"End column of the sorting area."));
- QWhatsThis::add(m_radioButtonAlphaSort,i18n(
+ TQWhatsThis::add(m_radioButtonAlphaSort,i18n(
"Alphabetical sorting (A-Z)."));
- QWhatsThis::add(m_radioButtonNumSort,i18n(
+ TQWhatsThis::add(m_radioButtonNumSort,i18n(
"Numeric sorting (0-9)"));
config_load();
@@ -60,7 +60,7 @@ SortDialog::~SortDialog()
/*$SPECIALIZATION$*/
void SortDialog::reject()
{
- QDialog::reject();
+ TQDialog::reject();
}
void SortDialog::accept()
@@ -72,19 +72,19 @@ void SortDialog::accept()
m_lineEditEndCol->text().isEmpty() ||
m_lineEditEndCol->text().toInt() == 0)
{
- QMessageBox::warning(this,i18n("Error"),
+ TQMessageBox::warning(this,i18n("Error"),
i18n("Fields:\n\"Starting at\" and \"Ending at\"\nhave to contains numbers."),
i18n("OK"));
return;
}
}
config_save();
- QDialog::accept();
+ TQDialog::accept();
}
int SortDialog::exec()
{
- return QDialog::exec();
+ return TQDialog::exec();
}
void SortDialog::toggledCol()
@@ -111,7 +111,7 @@ void SortDialog::toggledType()
void SortDialog::config_load ()
{
-// qDebug("config_load()");
+// tqDebug("config_load()");
KConfig *config = new KConfig("katesortpluginrc");
m_radioButtonAsc->setChecked(config->readBoolEntry("Asc",true));
m_radioButtonDesc->setChecked(config->readBoolEntry("Desc",false));
@@ -126,7 +126,7 @@ void SortDialog::config_load ()
void SortDialog::config_save ()
{
-// qDebug("config_save()");
+// tqDebug("config_save()");
KConfig *config = new KConfig("katesortpluginrc");
config->writeEntry("Asc",m_radioButtonAsc->isOn());
config->writeEntry("Desc", m_radioButtonDesc->isOn());