summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsinit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kstarsinit.cpp')
-rw-r--r--kstars/kstars/kstarsinit.cpp162
1 files changed, 81 insertions, 81 deletions
diff --git a/kstars/kstars/kstarsinit.cpp b/kstars/kstars/kstarsinit.cpp
index b4890a43..7e64e27f 100644
--- a/kstars/kstars/kstarsinit.cpp
+++ b/kstars/kstars/kstarsinit.cpp
@@ -49,66 +49,66 @@
void KStars::initActions() {
//File Menu:
new TDEAction(i18n("&New Window"), "window-new", TDEShortcut( "Ctrl+N" ),
- this, TQT_SLOT( newWindow() ), actionCollection(), "new_window");
+ this, TQ_SLOT( newWindow() ), actionCollection(), "new_window");
new TDEAction(i18n("&Close Window"), "window-close", TDEShortcut( "Ctrl+W" ),
- this, TQT_SLOT( closeWindow() ), actionCollection(), "close_window");
+ this, TQ_SLOT( closeWindow() ), actionCollection(), "close_window");
new TDEAction( i18n( "&Download Data..." ), "knewstuff", TDEShortcut( "Ctrl+D" ),
- this, TQT_SLOT( slotDownload() ), actionCollection(), "get_data" );
- new TDEAction( i18n( "Open FITS..."), "document-open", TDEShortcut( "Ctrl+O"), this, TQT_SLOT( slotOpenFITS()), actionCollection(), "open_file");
+ this, TQ_SLOT( slotDownload() ), actionCollection(), "get_data" );
+ new TDEAction( i18n( "Open FITS..."), "document-open", TDEShortcut( "Ctrl+O"), this, TQ_SLOT( slotOpenFITS()), actionCollection(), "open_file");
new TDEAction( i18n( "&Save Sky Image..." ), "fileexport", TDEShortcut( "Ctrl+I" ),
- this, TQT_SLOT( slotExportImage() ), actionCollection(), "export_image" );
+ this, TQ_SLOT( slotExportImage() ), actionCollection(), "export_image" );
new TDEAction( i18n( "&Run Script..." ), "launch", TDEShortcut( "Ctrl+R" ),
- this, TQT_SLOT( slotRunScript() ), actionCollection(), "run_script" );
- KStdAction::print(this, TQT_SLOT( slotPrint() ), actionCollection(), "print" );
- KStdAction::quit(this, TQT_SLOT( close() ), actionCollection(), "quit" );
+ this, TQ_SLOT( slotRunScript() ), actionCollection(), "run_script" );
+ KStdAction::print(this, TQ_SLOT( slotPrint() ), actionCollection(), "print" );
+ KStdAction::quit(this, TQ_SLOT( close() ), actionCollection(), "quit" );
//Time Menu:
new TDEAction( i18n( "Set Time to &Now" ), TDEShortcut( "Ctrl+E" ),
- this, TQT_SLOT( slotSetTimeToNow() ), actionCollection(), "time_to_now" );
+ this, TQ_SLOT( slotSetTimeToNow() ), actionCollection(), "time_to_now" );
new TDEAction( i18n( "set Clock to New Time", "&Set Time..." ), "clock", TDEShortcut( "Ctrl+S" ),
- this, TQT_SLOT( slotSetTime() ), actionCollection(), "time_dialog" );
+ this, TQ_SLOT( slotSetTime() ), actionCollection(), "time_dialog" );
ToggleAction *actTimeRun = new ToggleAction( i18n( "Stop &Clock" ), BarIcon("media-playback-pause"),
i18n("Start &Clock"), BarIcon("1rightarrow"),
- 0, this, TQT_SLOT( slotToggleTimer() ), actionCollection(), "timer_control" );
+ 0, this, TQ_SLOT( slotToggleTimer() ), actionCollection(), "timer_control" );
actTimeRun->setOffToolTip( i18n( "Start Clock" ) );
actTimeRun->setOnToolTip( i18n( "Stop Clock" ) );
- TQObject::connect(data()->clock(), TQT_SIGNAL(clockStarted()), actTimeRun, TQT_SLOT(turnOn()) );
- TQObject::connect(data()->clock(), TQT_SIGNAL(clockStopped()), actTimeRun, TQT_SLOT(turnOff()) );
+ TQObject::connect(data()->clock(), TQ_SIGNAL(clockStarted()), actTimeRun, TQ_SLOT(turnOn()) );
+ TQObject::connect(data()->clock(), TQ_SIGNAL(clockStopped()), actTimeRun, TQ_SLOT(turnOff()) );
//UpdateTime() if clock is stopped (so hidden objects get drawn)
- TQObject::connect(data()->clock(), TQT_SIGNAL(clockStopped()), this, TQT_SLOT(updateTime()) );
+ TQObject::connect(data()->clock(), TQ_SIGNAL(clockStopped()), this, TQ_SLOT(updateTime()) );
//Focus Menu:
new TDEAction(i18n( "&Zenith" ), TDEShortcut( "Z" ),
- this, TQT_SLOT( slotPointFocus() ), actionCollection(), "zenith");
+ this, TQ_SLOT( slotPointFocus() ), actionCollection(), "zenith");
new TDEAction(i18n( "&North" ), TDEShortcut( "N" ),
- this, TQT_SLOT( slotPointFocus() ), actionCollection(), "north");
+ this, TQ_SLOT( slotPointFocus() ), actionCollection(), "north");
new TDEAction(i18n( "&East" ), TDEShortcut( "E" ),
- this, TQT_SLOT( slotPointFocus() ), actionCollection(), "east");
+ this, TQ_SLOT( slotPointFocus() ), actionCollection(), "east");
new TDEAction(i18n( "&South" ), TDEShortcut( "S" ),
- this, TQT_SLOT( slotPointFocus() ), actionCollection(), "south");
+ this, TQ_SLOT( slotPointFocus() ), actionCollection(), "south");
new TDEAction(i18n( "&West" ), TDEShortcut( "W" ),
- this, TQT_SLOT( slotPointFocus() ), actionCollection(), "west");
- TDEAction *tmpAction = KStdAction::find( this, TQT_SLOT( slotFind() ),
+ this, TQ_SLOT( slotPointFocus() ), actionCollection(), "west");
+ TDEAction *tmpAction = KStdAction::find( this, TQ_SLOT( slotFind() ),
actionCollection(), "find_object" );
tmpAction->setText( i18n( "&Find Object..." ) );
tmpAction->setToolTip( i18n( "Find object" ) );
new TDEAction( i18n( "Engage &Tracking" ), "decrypted", TDEShortcut( "Ctrl+T" ),
- this, TQT_SLOT( slotTrack() ), actionCollection(), "track_object" );
+ this, TQ_SLOT( slotTrack() ), actionCollection(), "track_object" );
new TDEAction( i18n( "Set Focus &Manually..." ), TDEShortcut( "Ctrl+M" ),
- this, TQT_SLOT( slotManualFocus() ), actionCollection(), "manual_focus" );
+ this, TQ_SLOT( slotManualFocus() ), actionCollection(), "manual_focus" );
//View Menu:
- KStdAction::zoomIn(this, TQT_SLOT( slotZoomIn() ), actionCollection(), "zoom_in" );
- KStdAction::zoomOut(this, TQT_SLOT( slotZoomOut() ), actionCollection(), "zoom_out" );
+ KStdAction::zoomIn(this, TQ_SLOT( slotZoomIn() ), actionCollection(), "zoom_in" );
+ KStdAction::zoomOut(this, TQ_SLOT( slotZoomOut() ), actionCollection(), "zoom_out" );
new TDEAction( i18n( "&Default Zoom" ), "viewmagfit.png", TDEShortcut( "Ctrl+Z" ),
- this, TQT_SLOT( slotDefaultZoom() ), actionCollection(), "zoom_default" );
+ this, TQ_SLOT( slotDefaultZoom() ), actionCollection(), "zoom_default" );
new TDEAction( i18n( "&Zoom to Angular Size..." ), "viewmag.png", TDEShortcut( "Ctrl+Shift+Z" ),
- this, TQT_SLOT( slotSetZoom() ), actionCollection(), "zoom_set" );
+ this, TQ_SLOT( slotSetZoom() ), actionCollection(), "zoom_set" );
actCoordSys = new ToggleAction( i18n("Horizontal &Coordinates"), i18n( "Equatorial &Coordinates" ),
- Key_Space, this, TQT_SLOT( slotCoordSys() ), actionCollection(), "coordsys" );
- KStdAction::fullScreen( this, TQT_SLOT( slotFullScreen() ), actionCollection(), 0 );
+ Key_Space, this, TQ_SLOT( slotCoordSys() ), actionCollection(), "coordsys" );
+ KStdAction::fullScreen( this, TQ_SLOT( slotFullScreen() ), actionCollection(), 0 );
//Settings Menu:
@@ -122,45 +122,45 @@ void KStars::initActions() {
TDEToggleAction *a = new TDEToggleAction(i18n( "Show the information boxes", "Show &Info Boxes"),
0, 0, 0, actionCollection(), "show_boxes");
a->setChecked( Options::showInfoBoxes() );
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), infoBoxes(), TQT_SLOT(setVisible(bool)));
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), infoBoxes(), TQ_SLOT(setVisible(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
a = new TDEToggleAction(i18n( "Show time-related info box", "Show &Time Box"),
0, 0, 0, actionCollection(), "show_time_box");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), infoBoxes(), TQT_SLOT(showTimeBox(bool)));
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), infoBoxes(), TQ_SLOT(showTimeBox(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
a = new TDEToggleAction(i18n( "Show focus-related info box", "Show &Focus Box"),
0, 0, 0, actionCollection(), "show_focus_box");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), infoBoxes(), TQT_SLOT(showFocusBox(bool)));
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), infoBoxes(), TQ_SLOT(showFocusBox(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
a = new TDEToggleAction(i18n( "Show location-related info box", "Show &Location Box"),
0, 0, 0, actionCollection(), "show_location_box");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), infoBoxes(), TQT_SLOT(showGeoBox(bool)));
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), infoBoxes(), TQ_SLOT(showGeoBox(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
//Toolbar view options
a = new TDEToggleAction(i18n( "Show Main Toolbar" ),
0, 0, 0, actionCollection(), "show_mainToolBar");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
a = new TDEToggleAction(i18n( "Show View Toolbar" ),
0, 0, 0, actionCollection(), "show_viewToolBar");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
//Statusbar view options
a = new TDEToggleAction(i18n( "Show Statusbar" ),
0, 0, 0, actionCollection(), "show_statusBar");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
a = new TDEToggleAction(i18n( "Show Az/Alt Field" ),
0, 0, 0, actionCollection(), "show_sbAzAlt");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
a = new TDEToggleAction(i18n( "Show RA/Dec Field" ),
0, 0, 0, actionCollection(), "show_sbRADec");
- TQObject::connect(a, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT(slotShowGUIItem(bool)));
+ TQObject::connect(a, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT(slotShowGUIItem(bool)));
//Color scheme actions. These are added to the "colorschemes" TDEActionMenu.
colorActionMenu = new TDEActionMenu( i18n( "C&olor Schemes" ), actionCollection(), "colorschemes" );
@@ -192,61 +192,61 @@ void KStars::initActions() {
new TDEAction( i18n( "Location on Earth", "&Geographic..." ),
"kstars_geo", TDEShortcut( "Ctrl+G" ), this,
- TQT_SLOT( slotGeoLocator() ), actionCollection(), "geolocation" );
+ TQ_SLOT( slotGeoLocator() ), actionCollection(), "geolocation" );
- KStdAction::preferences( this, TQT_SLOT( slotViewOps() ), actionCollection(), "configure" );
+ KStdAction::preferences( this, TQ_SLOT( slotViewOps() ), actionCollection(), "configure" );
new TDEAction(i18n( "Startup Wizard..." ), "wizard", TDEShortcut(),
- this, TQT_SLOT( slotWizard() ), actionCollection(), "startwizard" );
+ this, TQ_SLOT( slotWizard() ), actionCollection(), "startwizard" );
//Tools Menu:
new TDEAction(i18n( "Calculator..."), TDEShortcut( "Ctrl+C"),
- this, TQT_SLOT( slotCalculator() ), actionCollection(), "astrocalculator");
+ this, TQ_SLOT( slotCalculator() ), actionCollection(), "astrocalculator");
new TDEAction(i18n( "Observing List..."), TDEShortcut( "Ctrl+L"),
- this, TQT_SLOT( slotObsList() ), actionCollection(), "obslist");
+ this, TQ_SLOT( slotObsList() ), actionCollection(), "obslist");
// enable action only if file was loaded and processed successfully.
if (!data()->VariableStarsList.isEmpty())
new TDEAction(i18n( "AAVSO Light Curves..."), TDEShortcut( "Ctrl+V"),
- this, TQT_SLOT( slotLCGenerator() ), actionCollection(), "lightcurvegenerator");
+ this, TQ_SLOT( slotLCGenerator() ), actionCollection(), "lightcurvegenerator");
new TDEAction(i18n( "Altitude vs. Time..."), TDEShortcut( "Ctrl+A"),
- this, TQT_SLOT( slotAVT() ), actionCollection(), "altitude_vs_time");
+ this, TQ_SLOT( slotAVT() ), actionCollection(), "altitude_vs_time");
new TDEAction(i18n( "What's up Tonight..."), TDEShortcut("Ctrl+U"),
- this, TQT_SLOT(slotWUT()), actionCollection(), "whats_up_tonight");
+ this, TQ_SLOT(slotWUT()), actionCollection(), "whats_up_tonight");
//FIXME GLOSSARY
// new TDEAction(i18n( "Glossary..."), TDEShortcut("Ctrl+K"),
-// this, TQT_SLOT(slotGlossary()), actionCollection(), "glossary");
+// this, TQ_SLOT(slotGlossary()), actionCollection(), "glossary");
new TDEAction(i18n( "Script Builder..."), TDEShortcut("Ctrl+B"),
- this, TQT_SLOT(slotScriptBuilder()), actionCollection(), "scriptbuilder");
+ this, TQ_SLOT(slotScriptBuilder()), actionCollection(), "scriptbuilder");
new TDEAction(i18n( "Solar System..."), TDEShortcut("Ctrl+Y"),
- this, TQT_SLOT(slotSolarSystem()), actionCollection(), "solarsystem");
+ this, TQ_SLOT(slotSolarSystem()), actionCollection(), "solarsystem");
new TDEAction(i18n( "Jupiter's Moons..."), TDEShortcut("Ctrl+J"),
- this, TQT_SLOT(slotJMoonTool()), actionCollection(), "jmoontool");
+ this, TQ_SLOT(slotJMoonTool()), actionCollection(), "jmoontool");
// devices Menu
- new TDEAction(i18n("Telescope Wizard..."), 0, this, TQT_SLOT(slotTelescopeWizard()), actionCollection(), "telescope_wizard");
- new TDEAction(i18n("Telescope Properties..."), 0, this, TQT_SLOT(slotTelescopeProperties()), actionCollection(), "telescope_properties");
- new TDEAction(i18n("Device Manager..."), 0, this, TQT_SLOT(slotINDIDriver()), actionCollection(), "device_manager");
+ new TDEAction(i18n("Telescope Wizard..."), 0, this, TQ_SLOT(slotTelescopeWizard()), actionCollection(), "telescope_wizard");
+ new TDEAction(i18n("Telescope Properties..."), 0, this, TQ_SLOT(slotTelescopeProperties()), actionCollection(), "telescope_properties");
+ new TDEAction(i18n("Device Manager..."), 0, this, TQ_SLOT(slotINDIDriver()), actionCollection(), "device_manager");
- tmpAction = new TDEAction(i18n("Capture Image Sequence..."), 0, this, TQT_SLOT(slotImageSequence()), actionCollection(), "capture_sequence");
+ tmpAction = new TDEAction(i18n("Capture Image Sequence..."), 0, this, TQ_SLOT(slotImageSequence()), actionCollection(), "capture_sequence");
tmpAction->setEnabled(false);
- tmpAction = new TDEAction(i18n("INDI Control Panel..."), 0, this, TQT_SLOT(slotINDIPanel()), actionCollection(), "indi_control_panel");
+ tmpAction = new TDEAction(i18n("INDI Control Panel..."), 0, this, TQ_SLOT(slotINDIPanel()), actionCollection(), "indi_control_panel");
tmpAction->setEnabled(false);
- new TDEAction(i18n("Configure INDI..."), 0, this, TQT_SLOT(slotINDIConf()), actionCollection(), "configure_indi");
+ new TDEAction(i18n("Configure INDI..."), 0, this, TQ_SLOT(slotINDIConf()), actionCollection(), "configure_indi");
//Help Menu:
new TDEAction( i18n( "Tip of the Day" ), "idea", 0,
- this, TQT_SLOT( slotTipOfDay() ), actionCollection(), "help_tipofday" );
+ this, TQ_SLOT( slotTipOfDay() ), actionCollection(), "help_tipofday" );
//Handbook toolBar item:
new TDEAction( i18n( "&Handbook" ), "contents", TDEShortcut( "F1" ),
- this, TQT_SLOT( appHelpActivated() ), actionCollection(), "handbook" );
+ this, TQ_SLOT( appHelpActivated() ), actionCollection(), "handbook" );
//
//viewToolBar actions:
@@ -254,39 +254,39 @@ void KStars::initActions() {
//show_stars:
a = new TDEToggleAction( i18n( "Toggle Stars" ), "kstars_stars",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_stars" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_stars" );
//show_deepsky:
a = new TDEToggleAction( i18n( "Toggle Deep Sky Objects" ), "kstars_deepsky",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_deepsky" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_deepsky" );
//show_planets:
a = new TDEToggleAction( i18n( "Toggle Solar System" ), "kstars_planets",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_planets" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_planets" );
//show_clines:
a = new TDEToggleAction( i18n( "Toggle Constellation Lines" ), "kstars_clines",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_clines" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_clines" );
//show_cnames:
a = new TDEToggleAction( i18n( "Toggle Constellation Names" ), "kstars_cnames",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_cnames" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_cnames" );
//show_cbound:
a = new TDEToggleAction( i18n( "Toggle Constellation Boundaries" ), "kstars_cbound",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_cbounds" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_cbounds" );
//show_mw:
a = new TDEToggleAction( i18n( "Toggle Milky Way" ), "kstars_mw",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_mw" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_mw" );
//show_grid:
a = new TDEToggleAction( i18n( "Toggle Coordinate Grid" ), "kstars_grid",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_grid" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_grid" );
//show_horizon:
a = new TDEToggleAction( i18n( "Toggle Ground" ), "kstars_horizon",
- 0, this, TQT_SLOT( slotViewToolBar() ), actionCollection(), "show_horizon" );
+ 0, this, TQ_SLOT( slotViewToolBar() ), actionCollection(), "show_horizon" );
if (Options::fitsSaveDirectory().isEmpty())
Options::setFitsSaveDirectory(TQDir:: homeDirPath());
@@ -327,7 +327,7 @@ void KStars::initFOV() {
if ( fields.count() == 4 ) {
nm = fields[0].stripWhiteSpace();
- TDEToggleAction *kta = new TDEToggleAction( nm, 0, this, TQT_SLOT( slotTargetSymbol() ),
+ TDEToggleAction *kta = new TDEToggleAction( nm, 0, this, TQ_SLOT( slotTargetSymbol() ),
actionCollection(), nm.utf8() );
kta->setExclusiveGroup( "fovsymbol" );
if ( nm == Options::fOVName() ) kta->setChecked( true );
@@ -339,7 +339,7 @@ void KStars::initFOV() {
}
fovActionMenu->popupMenu()->insertSeparator();
- fovActionMenu->insert( new TDEAction( i18n( "Edit FOV Symbols..." ), 0, this, TQT_SLOT( slotFOVEdit() ), actionCollection(), "edit_fov" ) );
+ fovActionMenu->insert( new TDEAction( i18n( "Edit FOV Symbols..." ), 0, this, TQ_SLOT( slotFOVEdit() ), actionCollection(), "edit_fov" ) );
}
void KStars::initStatusBar() {
@@ -459,7 +459,7 @@ void KStars::privatedata::buildGUI() {
ks->skymap = new SkyMap( ks->data(), ks->centralWidget );
// update skymap if KStarsData send update signal
- TQObject::connect(kstarsData, TQT_SIGNAL( update() ), ks->skymap, TQT_SLOT( forceUpdateNow() ) );
+ TQObject::connect(kstarsData, TQ_SIGNAL( update() ), ks->skymap, TQ_SLOT( forceUpdateNow() ) );
// get focus of keyboard and mouse actions (for example zoom in with +)
ks->map()->TQWidget::setFocus();
@@ -484,11 +484,11 @@ void KStars::privatedata::buildGUI() {
//Changing the timestep needs to propagate to the clock, check if slew mode should be
//(dis)engaged, and return input focus to the skymap.
- connect( ks->TimeStep, TQT_SIGNAL( scaleChanged( float ) ), ks->data(), TQT_SLOT( setTimeDirection( float ) ) );
- connect( ks->TimeStep, TQT_SIGNAL( scaleChanged( float ) ), ks->data()->clock(), TQT_SLOT( setScale( float )) );
-// connect( ks->TimeStep, TQT_SIGNAL( scaleChanged( float ) ), ks->skymap, TQT_SLOT( slotClockSlewing() ) );
- connect( ks->data()->clock(), TQT_SIGNAL( scaleChanged( float ) ), ks->map(), TQT_SLOT( slotClockSlewing() ) );
- connect( ks->TimeStep, TQT_SIGNAL( scaleChanged( float ) ), ks, TQT_SLOT( mapGetsFocus() ) );
+ connect( ks->TimeStep, TQ_SIGNAL( scaleChanged( float ) ), ks->data(), TQ_SLOT( setTimeDirection( float ) ) );
+ connect( ks->TimeStep, TQ_SIGNAL( scaleChanged( float ) ), ks->data()->clock(), TQ_SLOT( setScale( float )) );
+// connect( ks->TimeStep, TQ_SIGNAL( scaleChanged( float ) ), ks->skymap, TQ_SLOT( slotClockSlewing() ) );
+ connect( ks->data()->clock(), TQ_SIGNAL( scaleChanged( float ) ), ks->map(), TQ_SLOT( slotClockSlewing() ) );
+ connect( ks->TimeStep, TQ_SIGNAL( scaleChanged( float ) ), ks, TQ_SLOT( mapGetsFocus() ) );
ks->resize( Options::windowWidth(), Options::windowHeight() );
@@ -507,11 +507,11 @@ void KStars::privatedata::buildGUI() {
ks->data()->initGuides(&tempnum);
//Connect the clock.
- TQObject::connect( ks->data()->clock(), TQT_SIGNAL( timeAdvanced() ), ks, TQT_SLOT( updateTime() ) );
- TQObject::connect( ks->data()->clock(), TQT_SIGNAL( timeChanged() ), ks, TQT_SLOT( updateTime() ) );
+ TQObject::connect( ks->data()->clock(), TQ_SIGNAL( timeAdvanced() ), ks, TQ_SLOT( updateTime() ) );
+ TQObject::connect( ks->data()->clock(), TQ_SIGNAL( timeChanged() ), ks, TQ_SLOT( updateTime() ) );
// Connect cache function
- TQObject::connect( kstarsData, TQT_SIGNAL( clearCache() ), ks, TQT_SLOT( clearCachedFindDialog() ) );
+ TQObject::connect( kstarsData, TQ_SIGNAL( clearCache() ), ks, TQ_SLOT( clearCachedFindDialog() ) );
SkyPoint newPoint;
if ( ks->data()->useDefaultOptions ) {