summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/timedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/timedialog.cpp')
-rw-r--r--kstars/kstars/timedialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/kstars/timedialog.cpp b/kstars/kstars/timedialog.cpp
index 7f1c7446..d3ff7ecb 100644
--- a/kstars/kstars/timedialog.cpp
+++ b/kstars/kstars/timedialog.cpp
@@ -21,7 +21,7 @@
#include <tqlabel.h>
#include <tqpushbutton.h>
#include <tqspinbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include "timedialog.h"
#include "kstars.h"
@@ -36,7 +36,7 @@ TimeDialog::TimeDialog( const KStarsDateTime &now, TQWidget* parent )
TQFrame *page = plainPage();
vlay = new TQVBoxLayout( page, 2, 2 );
- hlay = new TQHBoxLayout( 2 ); //this layout will be added to the VLayout
+ hlay = new TQHBoxLayout( 2 ); //this tqlayout will be added to the VLayout
dPicker = new ExtDatePicker( page );
dPicker->setDate( now.date() );
@@ -112,7 +112,7 @@ void TimeDialog::keyReleaseEvent( TQKeyEvent *kev ) {
void TimeDialog::setNow( void )
{
- KStarsDateTime dt( KStarsDateTime::currentDateTime() );
+ KStarsDateTime dt( KStarsDateTime::tqcurrentDateTime() );
dPicker->setDate( dt.date() );
TQTime t = dt.time();