summaryrefslogtreecommitdiffstats
path: root/knode/knrangefilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knrangefilter.cpp')
-rw-r--r--knode/knrangefilter.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/knode/knrangefilter.cpp b/knode/knrangefilter.cpp
index bfa02110f..ee14c794f 100644
--- a/knode/knrangefilter.cpp
+++ b/knode/knrangefilter.cpp
@@ -14,10 +14,10 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqcombobox.h>
#include <ksimpleconfig.h>
#include <knuminput.h>
@@ -96,31 +96,31 @@ void KNRangeFilter::save(KSimpleConfig *conf)
//=====================================================================================
//=====================================================================================
-KNRangeFilterWidget::KNRangeFilterWidget(const QString& value, int min, int max, QWidget* parent, const QString &unit)
- : QGroupBox(value, parent)
+KNRangeFilterWidget::KNRangeFilterWidget(const TQString& value, int min, int max, TQWidget* parent, const TQString &unit)
+ : TQGroupBox(value, parent)
{
- enabled=new QCheckBox(this);
+ enabled=new TQCheckBox(this);
val1=new KIntSpinBox(min, max, 1, min, 10, this);
val1->setSuffix(unit);
val2=new KIntSpinBox(min, max, 1, min, 10, this);
val2->setSuffix(unit);
- op1=new QComboBox(this);
+ op1=new TQComboBox(this);
op1->insertItem("<");
op1->insertItem("<=");
op1->insertItem("=");
op1->insertItem(">=");
op1->insertItem(">");
- op2=new QComboBox(this);
+ op2=new TQComboBox(this);
op2->insertItem("");
op2->insertItem("<");
op2->insertItem("<=");
- des=new QLabel(value, this);
+ des=new TQLabel(value, this);
des->setAlignment(AlignCenter);
- QGridLayout *topL=new QGridLayout(this, 2,6, 8,5 );
+ TQGridLayout *topL=new TQGridLayout(this, 2,6, 8,5 );
topL->addRowSpacing(0, fontMetrics().lineSpacing()-4);
topL->addWidget(enabled,1,0, Qt::AlignHCenter);
@@ -134,9 +134,9 @@ KNRangeFilterWidget::KNRangeFilterWidget(const QString& value, int min, int max,
topL->setColStretch(1,1);
topL->setColStretch(5,1);
- connect(op1, SIGNAL(activated(int)), SLOT(slotOp1Changed(int)));
- connect(op2, SIGNAL(activated(int)), SLOT(slotOp2Changed(int)));
- connect(enabled, SIGNAL(toggled(bool)), SLOT(slotEnabled(bool)));
+ connect(op1, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOp1Changed(int)));
+ connect(op2, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOp2Changed(int)));
+ connect(enabled, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnabled(bool)));
slotEnabled(false);
}