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 d3ff7ecb..7f1c7446 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 <tqlayout.h>
+#include <layout.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 tqlayout will be added to the VLayout
+ hlay = new TQHBoxLayout( 2 ); //this layout 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::tqcurrentDateTime() );
+ KStarsDateTime dt( KStarsDateTime::currentDateTime() );
dPicker->setDate( dt.date() );
TQTime t = dt.time();