summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/plineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/plineedit.cpp')
-rw-r--r--lib/widgets/propeditor/plineedit.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/widgets/propeditor/plineedit.cpp b/lib/widgets/propeditor/plineedit.cpp
index ebd8d848..f5e1ecb0 100644
--- a/lib/widgets/propeditor/plineedit.cpp
+++ b/lib/widgets/propeditor/plineedit.cpp
@@ -20,38 +20,38 @@
#include "plineedit.h"
#include <klineedit.h>
-#include <qlayout.h>
+#include <tqlayout.h>
namespace PropertyLib{
-PLineEdit::PLineEdit(MultiProperty *property, QWidget *parent, const char *name)
+PLineEdit::PLineEdit(MultiProperty *property, TQWidget *parent, const char *name)
:PropertyWidget(property, parent, name)
{
- QHBoxLayout *l = new QHBoxLayout(this, 0, 0);
+ TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new KLineEdit(this);
- m_edit->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
+ m_edit->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
l->addWidget(m_edit);
- connect(m_edit, SIGNAL(textChanged(const QString&)), this, SLOT(updateProperty(const QString&)));
+ connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(updateProperty(const TQString&)));
}
-QVariant PLineEdit::value() const
+TQVariant PLineEdit::value() const
{
- return QVariant(m_edit->text());
+ return TQVariant(m_edit->text());
}
-void PLineEdit::setValue(const QVariant &value, bool emitChange)
+void PLineEdit::setValue(const TQVariant &value, bool emitChange)
{
- disconnect(m_edit, SIGNAL(textChanged(const QString&)), this, SLOT(updateProperty(const QString&)));
+ disconnect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(updateProperty(const TQString&)));
m_edit->setText(value.toString());
- connect(m_edit, SIGNAL(textChanged(const QString&)), this, SLOT(updateProperty(const QString&)));
+ connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(updateProperty(const TQString&)));
if (emitChange)
emit propertyChanged(m_property, value);
}
-void PLineEdit::updateProperty(const QString& val)
+void PLineEdit::updateProperty(const TQString& val)
{
- emit propertyChanged(m_property, QVariant(val));
+ emit propertyChanged(m_property, TQVariant(val));
}
}