summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors')
-rw-r--r--lib/koproperty/editors/booledit.cpp8
-rw-r--r--lib/koproperty/editors/booledit.h4
-rw-r--r--lib/koproperty/editors/coloredit.cpp4
-rw-r--r--lib/koproperty/editors/coloredit.h2
-rw-r--r--lib/koproperty/editors/combobox.cpp4
-rw-r--r--lib/koproperty/editors/combobox.h2
-rw-r--r--lib/koproperty/editors/cursoredit.cpp4
-rw-r--r--lib/koproperty/editors/cursoredit.h2
-rw-r--r--lib/koproperty/editors/dateedit.cpp4
-rw-r--r--lib/koproperty/editors/dateedit.h2
-rw-r--r--lib/koproperty/editors/datetimeedit.cpp4
-rw-r--r--lib/koproperty/editors/datetimeedit.h2
-rw-r--r--lib/koproperty/editors/dummywidget.cpp4
-rw-r--r--lib/koproperty/editors/dummywidget.h2
-rw-r--r--lib/koproperty/editors/fontedit.cpp8
-rw-r--r--lib/koproperty/editors/fontedit.h2
-rw-r--r--lib/koproperty/editors/linestyledit.cpp4
-rw-r--r--lib/koproperty/editors/linestyleedit.h2
-rw-r--r--lib/koproperty/editors/pixmapedit.cpp4
-rw-r--r--lib/koproperty/editors/pixmapedit.h2
-rw-r--r--lib/koproperty/editors/pointedit.cpp4
-rw-r--r--lib/koproperty/editors/pointedit.h2
-rw-r--r--lib/koproperty/editors/rectedit.cpp4
-rw-r--r--lib/koproperty/editors/rectedit.h2
-rw-r--r--lib/koproperty/editors/sizeedit.cpp4
-rw-r--r--lib/koproperty/editors/sizeedit.h2
-rw-r--r--lib/koproperty/editors/sizepolicyedit.cpp4
-rw-r--r--lib/koproperty/editors/sizepolicyedit.h2
-rw-r--r--lib/koproperty/editors/spinbox.cpp20
-rw-r--r--lib/koproperty/editors/spinbox.h8
-rw-r--r--lib/koproperty/editors/stringedit.cpp4
-rw-r--r--lib/koproperty/editors/stringedit.h2
-rw-r--r--lib/koproperty/editors/stringlistedit.cpp4
-rw-r--r--lib/koproperty/editors/stringlistedit.h2
-rw-r--r--lib/koproperty/editors/symbolcombo.cpp4
-rw-r--r--lib/koproperty/editors/symbolcombo.h2
-rw-r--r--lib/koproperty/editors/timeedit.cpp4
-rw-r--r--lib/koproperty/editors/timeedit.h2
-rw-r--r--lib/koproperty/editors/urledit.cpp4
-rw-r--r--lib/koproperty/editors/urledit.h2
40 files changed, 76 insertions, 76 deletions
diff --git a/lib/koproperty/editors/booledit.cpp b/lib/koproperty/editors/booledit.cpp
index 5c347c02f..886f20d86 100644
--- a/lib/koproperty/editors/booledit.cpp
+++ b/lib/koproperty/editors/booledit.cpp
@@ -35,8 +35,8 @@
using namespace KoProperty;
-BoolEdit::BoolEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+BoolEdit::BoolEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
, m_yesIcon( SmallIcon("button_ok") )
, m_noIcon( SmallIcon("button_no") )
{
@@ -150,8 +150,8 @@ BoolEdit::setReadOnlyInternal(bool readOnly)
//--------------------------------------------------
-ThreeStateBoolEdit::ThreeStateBoolEdit(Property *property, TQWidget *tqparent, const char *name)
- : ComboBox(property, tqparent, name)
+ThreeStateBoolEdit::ThreeStateBoolEdit(Property *property, TQWidget *parent, const char *name)
+ : ComboBox(property, parent, name)
, m_yesIcon( SmallIcon("button_ok") )
, m_noIcon( SmallIcon("button_no") )
{
diff --git a/lib/koproperty/editors/booledit.h b/lib/koproperty/editors/booledit.h
index 0cfbf48e5..f93e4daa1 100644
--- a/lib/koproperty/editors/booledit.h
+++ b/lib/koproperty/editors/booledit.h
@@ -36,7 +36,7 @@ class KOPROPERTY_EXPORT BoolEdit : public Widget
TQ_OBJECT
public:
- BoolEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ BoolEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~BoolEdit();
virtual TQVariant value() const;
@@ -63,7 +63,7 @@ class KOPROPERTY_EXPORT ThreeStateBoolEdit : public ComboBox
TQ_OBJECT
public:
- ThreeStateBoolEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ ThreeStateBoolEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~ThreeStateBoolEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/coloredit.cpp b/lib/koproperty/editors/coloredit.cpp
index d85046867..a9ab1f1a1 100644
--- a/lib/koproperty/editors/coloredit.cpp
+++ b/lib/koproperty/editors/coloredit.cpp
@@ -29,8 +29,8 @@
using namespace KoProperty;
-ColorButton::ColorButton(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+ColorButton::ColorButton(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new KColorCombo(this);
diff --git a/lib/koproperty/editors/coloredit.h b/lib/koproperty/editors/coloredit.h
index d869dc007..000e6e825 100644
--- a/lib/koproperty/editors/coloredit.h
+++ b/lib/koproperty/editors/coloredit.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT ColorButton : public Widget
TQ_OBJECT
public:
- ColorButton(Property *property, TQWidget *tqparent=0, const char *name=0);
+ ColorButton(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~ColorButton();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/combobox.cpp b/lib/koproperty/editors/combobox.cpp
index 661aa1e02..343a9ed9b 100644
--- a/lib/koproperty/editors/combobox.cpp
+++ b/lib/koproperty/editors/combobox.cpp
@@ -31,8 +31,8 @@
using namespace KoProperty;
-ComboBox::ComboBox(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+ComboBox::ComboBox(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
, m_setValueEnabled(true)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
diff --git a/lib/koproperty/editors/combobox.h b/lib/koproperty/editors/combobox.h
index dda5d067c..709d07d6e 100644
--- a/lib/koproperty/editors/combobox.h
+++ b/lib/koproperty/editors/combobox.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT ComboBox : public Widget
TQ_OBJECT
public:
- ComboBox(Property *property, TQWidget *tqparent=0, const char *name=0);
+ ComboBox(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~ComboBox();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/cursoredit.cpp b/lib/koproperty/editors/cursoredit.cpp
index efcc0e442..61d444996 100644
--- a/lib/koproperty/editors/cursoredit.cpp
+++ b/lib/koproperty/editors/cursoredit.cpp
@@ -35,8 +35,8 @@ using namespace KoProperty;
Property::ListData *m_cursorListData = 0;
-CursorEdit::CursorEdit(Property *property, TQWidget *tqparent, const char *name)
-: ComboBox(property, tqparent, name)
+CursorEdit::CursorEdit(Property *property, TQWidget *parent, const char *name)
+: ComboBox(property, parent, name)
{
/*
if(!m_spValues) {
diff --git a/lib/koproperty/editors/cursoredit.h b/lib/koproperty/editors/cursoredit.h
index 850653df1..c6c76e0e2 100644
--- a/lib/koproperty/editors/cursoredit.h
+++ b/lib/koproperty/editors/cursoredit.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT CursorEdit : public ComboBox
TQ_OBJECT
public:
- CursorEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ CursorEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~CursorEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/dateedit.cpp b/lib/koproperty/editors/dateedit.cpp
index b72fd7ce2..0df8532a9 100644
--- a/lib/koproperty/editors/dateedit.cpp
+++ b/lib/koproperty/editors/dateedit.cpp
@@ -32,8 +32,8 @@
using namespace KoProperty;
-DateEdit::DateEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+DateEdit::DateEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQDateEdit(this);
diff --git a/lib/koproperty/editors/dateedit.h b/lib/koproperty/editors/dateedit.h
index f36e7b655..dde21f0ce 100644
--- a/lib/koproperty/editors/dateedit.h
+++ b/lib/koproperty/editors/dateedit.h
@@ -34,7 +34,7 @@ class KOPROPERTY_EXPORT DateEdit : public Widget
TQ_OBJECT
public:
- DateEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ DateEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~DateEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/datetimeedit.cpp b/lib/koproperty/editors/datetimeedit.cpp
index 7f88cb146..6e12641ab 100644
--- a/lib/koproperty/editors/datetimeedit.cpp
+++ b/lib/koproperty/editors/datetimeedit.cpp
@@ -32,8 +32,8 @@
using namespace KoProperty;
-DateTimeEdit::DateTimeEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+DateTimeEdit::DateTimeEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQDateTimeEdit(this);
diff --git a/lib/koproperty/editors/datetimeedit.h b/lib/koproperty/editors/datetimeedit.h
index b8745b013..1ee321b9e 100644
--- a/lib/koproperty/editors/datetimeedit.h
+++ b/lib/koproperty/editors/datetimeedit.h
@@ -34,7 +34,7 @@ class KOPROPERTY_EXPORT DateTimeEdit : public Widget
TQ_OBJECT
public:
- DateTimeEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ DateTimeEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~DateTimeEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/dummywidget.cpp b/lib/koproperty/editors/dummywidget.cpp
index e9fbe3c90..71c3c74ef 100644
--- a/lib/koproperty/editors/dummywidget.cpp
+++ b/lib/koproperty/editors/dummywidget.cpp
@@ -24,8 +24,8 @@
using namespace KoProperty;
-DummyWidget::DummyWidget(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+DummyWidget::DummyWidget(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{}
DummyWidget::~DummyWidget()
diff --git a/lib/koproperty/editors/dummywidget.h b/lib/koproperty/editors/dummywidget.h
index ef90ba8f0..b06c571ad 100644
--- a/lib/koproperty/editors/dummywidget.h
+++ b/lib/koproperty/editors/dummywidget.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT DummyWidget: public Widget
TQ_OBJECT
public:
- DummyWidget(Property *property, TQWidget *tqparent=0, const char *name=0);
+ DummyWidget(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~DummyWidget();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/fontedit.cpp b/lib/koproperty/editors/fontedit.cpp
index 65ae80cf0..0f3d438c9 100644
--- a/lib/koproperty/editors/fontedit.cpp
+++ b/lib/koproperty/editors/fontedit.cpp
@@ -44,8 +44,8 @@ namespace KoProperty {
class FontEditRequester : public KFontRequester
{
public:
- FontEditRequester(TQWidget* tqparent)
- : KFontRequester(tqparent)
+ FontEditRequester(TQWidget* parent)
+ : KFontRequester(parent)
{
label()->setPaletteBackgroundColor(tqpalette().active().base());
label()->setMinimumWidth(0);
@@ -79,8 +79,8 @@ class FontEditRequester : public KFontRequester
using namespace KoProperty;
-FontEdit::FontEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+FontEdit::FontEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
m_edit = new FontEditRequester(this);
m_edit->setMinimumHeight(5);
diff --git a/lib/koproperty/editors/fontedit.h b/lib/koproperty/editors/fontedit.h
index 6c3a46a47..091fafd02 100644
--- a/lib/koproperty/editors/fontedit.h
+++ b/lib/koproperty/editors/fontedit.h
@@ -34,7 +34,7 @@ class KOPROPERTY_EXPORT FontEdit : public Widget
TQ_OBJECT
public:
- FontEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ FontEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~FontEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/linestyledit.cpp b/lib/koproperty/editors/linestyledit.cpp
index 91783e207..e7f5b2f86 100644
--- a/lib/koproperty/editors/linestyledit.cpp
+++ b/lib/koproperty/editors/linestyledit.cpp
@@ -135,8 +135,8 @@ using namespace KoProperty;
"................................................"};
-LineStyleEdit::LineStyleEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+LineStyleEdit::LineStyleEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQComboBox(this);
diff --git a/lib/koproperty/editors/linestyleedit.h b/lib/koproperty/editors/linestyleedit.h
index 8388b897b..d5d386b50 100644
--- a/lib/koproperty/editors/linestyleedit.h
+++ b/lib/koproperty/editors/linestyleedit.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT LineStyleEdit : public Widget
TQ_OBJECT
public:
- LineStyleEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ LineStyleEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~LineStyleEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/pixmapedit.cpp b/lib/koproperty/editors/pixmapedit.cpp
index edc19c80d..92ab746db 100644
--- a/lib/koproperty/editors/pixmapedit.cpp
+++ b/lib/koproperty/editors/pixmapedit.cpp
@@ -51,8 +51,8 @@
using namespace KoProperty;
-PixmapEdit::PixmapEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+PixmapEdit::PixmapEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
diff --git a/lib/koproperty/editors/pixmapedit.h b/lib/koproperty/editors/pixmapedit.h
index 61f75fba8..3b6a6cd5b 100644
--- a/lib/koproperty/editors/pixmapedit.h
+++ b/lib/koproperty/editors/pixmapedit.h
@@ -37,7 +37,7 @@ class KOPROPERTY_EXPORT PixmapEdit : public Widget
TQ_OBJECT
public:
- PixmapEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ PixmapEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~PixmapEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/pointedit.cpp b/lib/koproperty/editors/pointedit.cpp
index d251e969f..6983dd682 100644
--- a/lib/koproperty/editors/pointedit.cpp
+++ b/lib/koproperty/editors/pointedit.cpp
@@ -34,8 +34,8 @@
using namespace KoProperty;
-PointEdit::PointEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+PointEdit::PointEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
m_edit = new KActiveLabel(this);
diff --git a/lib/koproperty/editors/pointedit.h b/lib/koproperty/editors/pointedit.h
index 22c9a36a9..ce7fc423a 100644
--- a/lib/koproperty/editors/pointedit.h
+++ b/lib/koproperty/editors/pointedit.h
@@ -35,7 +35,7 @@ class KOPROPERTY_EXPORT PointEdit : public Widget
TQ_OBJECT
public:
- PointEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ PointEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~PointEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/rectedit.cpp b/lib/koproperty/editors/rectedit.cpp
index 313e4e538..ba6fec49b 100644
--- a/lib/koproperty/editors/rectedit.cpp
+++ b/lib/koproperty/editors/rectedit.cpp
@@ -33,8 +33,8 @@
using namespace KoProperty;
-RectEdit::RectEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+RectEdit::RectEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
m_edit = new KActiveLabel(this);
diff --git a/lib/koproperty/editors/rectedit.h b/lib/koproperty/editors/rectedit.h
index 261bf7d5a..5ab25408c 100644
--- a/lib/koproperty/editors/rectedit.h
+++ b/lib/koproperty/editors/rectedit.h
@@ -35,7 +35,7 @@ class KOPROPERTY_EXPORT RectEdit : public Widget
TQ_OBJECT
public:
- RectEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ RectEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~RectEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/sizeedit.cpp b/lib/koproperty/editors/sizeedit.cpp
index db8fb44fa..05422119b 100644
--- a/lib/koproperty/editors/sizeedit.cpp
+++ b/lib/koproperty/editors/sizeedit.cpp
@@ -34,8 +34,8 @@
using namespace KoProperty;
-SizeEdit::SizeEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+SizeEdit::SizeEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
m_edit = new KActiveLabel(this);
diff --git a/lib/koproperty/editors/sizeedit.h b/lib/koproperty/editors/sizeedit.h
index 743f630fc..87b1c2dd7 100644
--- a/lib/koproperty/editors/sizeedit.h
+++ b/lib/koproperty/editors/sizeedit.h
@@ -35,7 +35,7 @@ class KOPROPERTY_EXPORT SizeEdit : public Widget
TQ_OBJECT
public:
- SizeEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ SizeEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~SizeEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/sizepolicyedit.cpp b/lib/koproperty/editors/sizepolicyedit.cpp
index 0c616665b..125e0a26f 100644
--- a/lib/koproperty/editors/sizepolicyedit.cpp
+++ b/lib/koproperty/editors/sizepolicyedit.cpp
@@ -34,8 +34,8 @@ using namespace KoProperty;
TQMap<TQString, TQVariant> *SizePolicyEdit::m_spValues = 0;
-SizePolicyEdit::SizePolicyEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+SizePolicyEdit::SizePolicyEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
// TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
diff --git a/lib/koproperty/editors/sizepolicyedit.h b/lib/koproperty/editors/sizepolicyedit.h
index 81ffab402..a33ef731c 100644
--- a/lib/koproperty/editors/sizepolicyedit.h
+++ b/lib/koproperty/editors/sizepolicyedit.h
@@ -37,7 +37,7 @@ class KOPROPERTY_EXPORT SizePolicyEdit : public Widget
TQ_OBJECT
public:
- SizePolicyEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ SizePolicyEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~SizePolicyEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/spinbox.cpp b/lib/koproperty/editors/spinbox.cpp
index 8ae4e30a7..8e890419b 100644
--- a/lib/koproperty/editors/spinbox.cpp
+++ b/lib/koproperty/editors/spinbox.cpp
@@ -33,8 +33,8 @@
using namespace KoProperty;
-IntSpinBox::IntSpinBox(int lower, int upper, int step, int value, int base, IntEdit *tqparent, const char *name)
-: KIntSpinBox(lower, upper, step, value, base, tqparent, name)
+IntSpinBox::IntSpinBox(int lower, int upper, int step, int value, int base, IntEdit *parent, const char *name)
+: KIntSpinBox(lower, upper, step, value, base, parent, name)
{
editor()->tqsetAlignment(TQt::AlignLeft);
installEventFilter(editor());
@@ -71,7 +71,7 @@ IntSpinBox::eventFilter(TQObject *o, TQEvent *e)
}
}
}
- if ((TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(editor()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o->tqparent()) == TQT_BASE_OBJECT(this))
+ if ((TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(editor()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o->parent()) == TQT_BASE_OBJECT(this))
&& e->type() == TQEvent::Wheel && static_cast<IntEdit*>(parentWidget())->isReadOnly())
{
return true; //avoid value changes for read-only widget
@@ -83,8 +83,8 @@ IntSpinBox::eventFilter(TQObject *o, TQEvent *e)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-IntEdit::IntEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+IntEdit::IntEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQVariant minVal( property ? property->option("min") : 0 );
TQVariant maxVal( property ? property->option("max") : TQVariant() );
@@ -176,8 +176,8 @@ IntEdit::setReadOnlyInternal(bool readOnly)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-DoubleSpinBox::DoubleSpinBox (double lower, double upper, double step, double value, int precision, DoubleEdit *tqparent)
-: KDoubleSpinBox(lower, upper, step, value, precision, tqparent)
+DoubleSpinBox::DoubleSpinBox (double lower, double upper, double step, double value, int precision, DoubleEdit *parent)
+: KDoubleSpinBox(lower, upper, step, value, precision, parent)
{
editor()->tqsetAlignment(TQt::AlignLeft);
installEventFilter(editor());
@@ -204,7 +204,7 @@ DoubleSpinBox::eventFilter(TQObject *o, TQEvent *e)
}
}
}
- if ((TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(editor()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o->tqparent()) == TQT_BASE_OBJECT(this))
+ if ((TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(editor()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(o->parent()) == TQT_BASE_OBJECT(this))
&& e->type() == TQEvent::Wheel && static_cast<IntEdit*>(parentWidget())->isReadOnly())
{
return true; //avoid value changes for read-only widget
@@ -226,8 +226,8 @@ void DoubleSpinBox::setValue( const TQVariant& value )
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-DoubleEdit::DoubleEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+DoubleEdit::DoubleEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQVariant minVal( property ? property->option("min") : 0 );
TQVariant maxVal( property ? property->option("max") : TQVariant() );
diff --git a/lib/koproperty/editors/spinbox.h b/lib/koproperty/editors/spinbox.h
index d16cc3e90..668b7b2b9 100644
--- a/lib/koproperty/editors/spinbox.h
+++ b/lib/koproperty/editors/spinbox.h
@@ -39,7 +39,7 @@ class IntSpinBox : public KIntSpinBox
public:
IntSpinBox(int lower, int upper, int step, int value, int base=10,
- IntEdit *tqparent=0, const char *name=0);
+ IntEdit *parent=0, const char *name=0);
virtual ~IntSpinBox() {;}
virtual void setValue(const TQVariant &value);
@@ -54,7 +54,7 @@ class KOPROPERTY_EXPORT IntEdit : public Widget
TQ_OBJECT
public:
- IntEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ IntEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~IntEdit();
virtual TQVariant value() const;
@@ -82,7 +82,7 @@ class DoubleSpinBox : public KDoubleSpinBox
public:
//! \todo Support setting precision limits, step, etc.
DoubleSpinBox(double lower, double upper, double step, double value=0,
- int precision=2, DoubleEdit *tqparent=0);
+ int precision=2, DoubleEdit *parent=0);
virtual ~DoubleSpinBox() {;}
virtual bool eventFilter(TQObject *o, TQEvent *e);
@@ -98,7 +98,7 @@ class KOPROPERTY_EXPORT DoubleEdit : public Widget
TQ_OBJECT
public:
- DoubleEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ DoubleEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~DoubleEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/stringedit.cpp b/lib/koproperty/editors/stringedit.cpp
index d878efa11..55d8b3ed4 100644
--- a/lib/koproperty/editors/stringedit.cpp
+++ b/lib/koproperty/editors/stringedit.cpp
@@ -26,8 +26,8 @@
using namespace KoProperty;
-StringEdit::StringEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+StringEdit::StringEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQLineEdit(this);
diff --git a/lib/koproperty/editors/stringedit.h b/lib/koproperty/editors/stringedit.h
index fff366092..1e5e3c5c1 100644
--- a/lib/koproperty/editors/stringedit.h
+++ b/lib/koproperty/editors/stringedit.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT StringEdit : public Widget
TQ_OBJECT
public:
- StringEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ StringEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~StringEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/stringlistedit.cpp b/lib/koproperty/editors/stringlistedit.cpp
index eb4dd6598..56bf1145c 100644
--- a/lib/koproperty/editors/stringlistedit.cpp
+++ b/lib/koproperty/editors/stringlistedit.cpp
@@ -37,8 +37,8 @@
using namespace KoProperty;
-StringListEdit::StringListEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+StringListEdit::StringListEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
diff --git a/lib/koproperty/editors/stringlistedit.h b/lib/koproperty/editors/stringlistedit.h
index 846e2362c..994b186b2 100644
--- a/lib/koproperty/editors/stringlistedit.h
+++ b/lib/koproperty/editors/stringlistedit.h
@@ -36,7 +36,7 @@ class KOPROPERTY_EXPORT StringListEdit : public Widget
TQ_OBJECT
public:
- StringListEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ StringListEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~StringListEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/symbolcombo.cpp b/lib/koproperty/editors/symbolcombo.cpp
index 289badbbd..53394d54f 100644
--- a/lib/koproperty/editors/symbolcombo.cpp
+++ b/lib/koproperty/editors/symbolcombo.cpp
@@ -32,8 +32,8 @@
using namespace KoProperty;
-SymbolCombo::SymbolCombo(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+SymbolCombo::SymbolCombo(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
setHasBorders(false);
TQHBoxLayout *l = new TQHBoxLayout(this);
diff --git a/lib/koproperty/editors/symbolcombo.h b/lib/koproperty/editors/symbolcombo.h
index 7f3e89e18..50ffcf968 100644
--- a/lib/koproperty/editors/symbolcombo.h
+++ b/lib/koproperty/editors/symbolcombo.h
@@ -34,7 +34,7 @@ class KOPROPERTY_EXPORT SymbolCombo : public Widget
TQ_OBJECT
public:
- SymbolCombo(Property *property, TQWidget *tqparent=0, const char *name=0);
+ SymbolCombo(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~SymbolCombo();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/timeedit.cpp b/lib/koproperty/editors/timeedit.cpp
index 25972f0bd..674d2c89c 100644
--- a/lib/koproperty/editors/timeedit.cpp
+++ b/lib/koproperty/editors/timeedit.cpp
@@ -33,8 +33,8 @@
using namespace KoProperty;
-TimeEdit::TimeEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+TimeEdit::TimeEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQTimeEdit(this);
diff --git a/lib/koproperty/editors/timeedit.h b/lib/koproperty/editors/timeedit.h
index 1dbec46b1..642f41017 100644
--- a/lib/koproperty/editors/timeedit.h
+++ b/lib/koproperty/editors/timeedit.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT TimeEdit : public Widget
TQ_OBJECT
public:
- TimeEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ TimeEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~TimeEdit();
virtual TQVariant value() const;
diff --git a/lib/koproperty/editors/urledit.cpp b/lib/koproperty/editors/urledit.cpp
index fc16268f9..8c150de20 100644
--- a/lib/koproperty/editors/urledit.cpp
+++ b/lib/koproperty/editors/urledit.cpp
@@ -31,8 +31,8 @@
using namespace KoProperty;
-URLEdit::URLEdit(Property *property, TQWidget *tqparent, const char *name)
- : Widget(property, tqparent, name)
+URLEdit::URLEdit(Property *property, TQWidget *parent, const char *name)
+ : Widget(property, parent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new KURLRequester(this);
diff --git a/lib/koproperty/editors/urledit.h b/lib/koproperty/editors/urledit.h
index 167738df3..bba720917 100644
--- a/lib/koproperty/editors/urledit.h
+++ b/lib/koproperty/editors/urledit.h
@@ -33,7 +33,7 @@ class KOPROPERTY_EXPORT URLEdit : public Widget
TQ_OBJECT
public:
- URLEdit(Property *property, TQWidget *tqparent=0, const char *name=0);
+ URLEdit(Property *property, TQWidget *parent=0, const char *name=0);
virtual ~URLEdit();
virtual TQVariant value() const;