summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/sizepolicyedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/sizepolicyedit.cpp')
-rw-r--r--lib/koproperty/editors/sizepolicyedit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/koproperty/editors/sizepolicyedit.cpp b/lib/koproperty/editors/sizepolicyedit.cpp
index 0b13292b..125e0a26 100644
--- a/lib/koproperty/editors/sizepolicyedit.cpp
+++ b/lib/koproperty/editors/sizepolicyedit.cpp
@@ -22,7 +22,7 @@
#include "editoritem.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpainter.h>
#include <tqsizepolicy.h>
#include <tqmap.h>
@@ -42,7 +42,7 @@ SizePolicyEdit::SizePolicyEdit(Property *property, TQWidget *parent, const char
m_edit = new TQLabel(this);
m_edit->setIndent(KPROPEDITOR_ITEM_MARGIN);
m_edit->setBackgroundMode(TQt::PaletteBase);
-// m_edit->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+// m_edit->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
m_edit->setMinimumHeight(5);
setEditor(m_edit);
// l->addWidget(m_edit);
@@ -77,9 +77,9 @@ void
SizePolicyEdit::setValue(const TQVariant &value, bool emitChange)
{
m_value = value;
- m_edit->setText(TQString("%1/%2/%3/%4").arg(findDescription(value.toSizePolicy().horData())).
- arg(findDescription(value.toSizePolicy().verData())).
- arg(value.toSizePolicy().horStretch()).arg(value.toSizePolicy().verStretch()));
+ m_edit->setText(TQString("%1/%2/%3/%4").tqarg(findDescription(value.toSizePolicy().horData())).
+ tqarg(findDescription(value.toSizePolicy().verData())).
+ tqarg(value.toSizePolicy().horStretch()).tqarg(value.toSizePolicy().verStretch()));
TQToolTip::add(this, m_edit->text());
if (emitChange)
@@ -94,9 +94,9 @@ SizePolicyEdit::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r
TQRect rect(r);
rect.setBottom(r.bottom()+1);
Widget::drawViewer(p, cg, rect,
- TQString("%1/%2/%3/%4").arg(findDescription(value.toSizePolicy().horData())).
- arg(findDescription(value.toSizePolicy().verData())).
- arg(value.toSizePolicy().horStretch()).arg(value.toSizePolicy().verStretch()));
+ TQString("%1/%2/%3/%4").tqarg(findDescription(value.toSizePolicy().horData())).
+ tqarg(findDescription(value.toSizePolicy().verData())).
+ tqarg(value.toSizePolicy().horStretch()).tqarg(value.toSizePolicy().verStretch()));
}
TQString