summaryrefslogtreecommitdiffstats
path: root/karm/ktimewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/ktimewidget.cpp')
-rw-r--r--karm/ktimewidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/karm/ktimewidget.cpp b/karm/ktimewidget.cpp
index dba305fef..b1f7790f6 100644
--- a/karm/ktimewidget.cpp
+++ b/karm/ktimewidget.cpp
@@ -13,11 +13,11 @@
enum ValidatorType { HOUR, MINUTE };
-class TimeValidator : public QValidator
+class TimeValidator : public TQValidator
{
public:
- TimeValidator( ValidatorType tp, TQWidget *parent=0, const char *name=0)
- : TQValidator(parent, name)
+ TimeValidator( ValidatorType tp, TQWidget *tqparent=0, const char *name=0)
+ : TQValidator(tqparent, name)
{
_tp = tp;
}
@@ -42,12 +42,12 @@ class TimeValidator : public QValidator
};
-class KarmLineEdit : public QLineEdit
+class KarmLineEdit : public TQLineEdit
{
public:
- KarmLineEdit( TQWidget* parent, const char* name = 0 )
- : TQLineEdit( parent, name ) {}
+ KarmLineEdit( TQWidget* tqparent, const char* name = 0 )
+ : TQLineEdit( tqparent, name ) {}
protected:
@@ -60,8 +60,8 @@ protected:
};
-KArmTimeWidget::KArmTimeWidget( TQWidget* parent, const char* name )
- : TQWidget(parent, name)
+KArmTimeWidget::KArmTimeWidget( TQWidget* tqparent, const char* name )
+ : TQWidget(tqparent, name)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
@@ -74,7 +74,7 @@ KArmTimeWidget::KArmTimeWidget( TQWidget* parent, const char* name )
TimeValidator *validator = new TimeValidator( HOUR, _hourLE,
"Validator for _hourLE");
_hourLE->setValidator( validator );
- _hourLE->tqsetAlignment( Qt::AlignRight );
+ _hourLE->tqsetAlignment( TQt::AlignRight );
TQLabel *hr = new TQLabel( i18n( "abbreviation for hours", " hr. " ), this );
@@ -89,7 +89,7 @@ KArmTimeWidget::KArmTimeWidget( TQWidget* parent, const char* name )
validator = new TimeValidator( MINUTE, _minuteLE, "Validator for _minuteLE");
_minuteLE->setValidator( validator );
_minuteLE->setMaxLength(2);
- _minuteLE->tqsetAlignment( Qt::AlignRight );
+ _minuteLE->tqsetAlignment( TQt::AlignRight );
TQLabel *min = new TQLabel( i18n( "abbreviation for minutes", " min. " ), this );
tqlayout->addWidget( min );