diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/ktimewidget.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/ktimewidget.cpp')
-rw-r--r-- | kdeui/ktimewidget.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdeui/ktimewidget.cpp b/kdeui/ktimewidget.cpp index 6a3ec4bb3..3a5ec3936 100644 --- a/kdeui/ktimewidget.cpp +++ b/kdeui/ktimewidget.cpp @@ -1,5 +1,5 @@ -#include <qdatetimeedit.h> -#include <qlayout.h> +#include <tqdatetimeedit.h> +#include <tqlayout.h> #include "kdebug.h" #include "kdialog.h" @@ -12,15 +12,15 @@ public: QTimeEdit * timeWidget; }; -KTimeWidget::KTimeWidget(QWidget * parent, const char * name) - : QWidget(parent, name) +KTimeWidget::KTimeWidget(TQWidget * parent, const char * name) + : TQWidget(parent, name) { init(); } -KTimeWidget::KTimeWidget(const QTime & time, - QWidget * parent, const char * name) - : QWidget(parent, name) +KTimeWidget::KTimeWidget(const TQTime & time, + TQWidget * parent, const char * name) + : TQWidget(parent, name) { init(); @@ -36,21 +36,21 @@ void KTimeWidget::init() { d = new KTimeWidgetPrivate; - QHBoxLayout *layout = new QHBoxLayout(this, 0, KDialog::spacingHint()); + TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint()); layout->setAutoAdd(true); d->timeWidget = new QTimeEdit(this); - connect(d->timeWidget, SIGNAL(valueChanged(const QTime &)), - SIGNAL(valueChanged(const QTime &))); + connect(d->timeWidget, TQT_SIGNAL(valueChanged(const TQTime &)), + TQT_SIGNAL(valueChanged(const TQTime &))); } -void KTimeWidget::setTime(const QTime & time) +void KTimeWidget::setTime(const TQTime & time) { d->timeWidget->setTime(time); } -QTime KTimeWidget::time() const +TQTime KTimeWidget::time() const { return d->timeWidget->time(); } |