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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kstars/kstars/timedialog.cpp b/kstars/kstars/timedialog.cpp
index f4d1449f..7a64b5b2 100644
--- a/kstars/kstars/timedialog.cpp
+++ b/kstars/kstars/timedialog.cpp
@@ -29,14 +29,14 @@
#include "simclock.h"
#include "libkdeedu/extdate/extdatepicker.h"
-TimeDialog::TimeDialog( const KStarsDateTime &now, TQWidget* parent )
- : KDialogBase( KDialogBase::Plain, i18n( "set clock to a new time", "Set Time" ), Ok|Cancel, Ok, parent )
+TimeDialog::TimeDialog( const KStarsDateTime &now, TQWidget* tqparent )
+ : KDialogBase( KDialogBase::Plain, i18n( "set clock to a new time", "Set Time" ), Ok|Cancel, Ok, tqparent )
{
- ksw = (KStars*) parent;
+ ksw = (KStars*) tqparent;
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();