summaryrefslogtreecommitdiffstats
path: root/knode/knrangefilter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knrangefilter.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}