summaryrefslogtreecommitdiffstats
path: root/libtdeedu/extdate/extdatewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdeedu/extdate/extdatewidget.cpp')
-rw-r--r--libtdeedu/extdate/extdatewidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtdeedu/extdate/extdatewidget.cpp b/libtdeedu/extdate/extdatewidget.cpp
index f1c7269b..041b0d76 100644
--- a/libtdeedu/extdate/extdatewidget.cpp
+++ b/libtdeedu/extdate/extdatewidget.cpp
@@ -36,7 +36,7 @@ public:
ExtDateWidgetSpinBox(int min, int max, TQWidget *parent)
: TQSpinBox(min, max, 1, parent)
{
- editor()->tqsetAlignment(AlignRight);
+ editor()->setAlignment(AlignRight);
}
};
@@ -56,7 +56,7 @@ public:
ExtDateWidget::ExtDateWidget( TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- init(ExtDate::tqcurrentDate());
+ init(ExtDate::currentDate());
setDate(ExtDate());
}