summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kspopupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kspopupmenu.cpp')
-rw-r--r--kstars/kstars/kspopupmenu.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kstars/kstars/kspopupmenu.cpp b/kstars/kstars/kspopupmenu.cpp
index 80125fbe..0d7872bb 100644
--- a/kstars/kstars/kspopupmenu.cpp
+++ b/kstars/kstars/kspopupmenu.cpp
@@ -45,8 +45,8 @@ KSPopupMenu::~KSPopupMenu()
void KSPopupMenu::createEmptyMenu( SkyObject *nullObj ) {
initPopupMenu( nullObj, i18n( "Empty sky" ), TQString(), TQString(), true, true, false, false, false, true, false );
- insertItem( i18n( "First Generation Digitized Sky Survey", "Show 1st-Gen DSS Image" ), ksw->map(), TQT_SLOT( slotDSS() ) );
- insertItem( i18n( "Second Generation Digitized Sky Survey", "Show 2nd-Gen DSS Image" ), ksw->map(), TQT_SLOT( slotDSS2() ) );
+ insertItem( i18n( "First Generation Digitized Sky Survey", "Show 1st-Gen DSS Image" ), ksw->map(), TQ_SLOT( slotDSS() ) );
+ insertItem( i18n( "Second Generation Digitized Sky Survey", "Show 2nd-Gen DSS Image" ), ksw->map(), TQ_SLOT( slotDSS2() ) );
}
void KSPopupMenu::createStarMenu( StarObject *star ) {
@@ -58,8 +58,8 @@ void KSPopupMenu::createStarMenu( StarObject *star ) {
if ( star->name() != "star" ) {
addLinksToMenu( star );
} else {
- insertItem( i18n( "First Generation Digitized Sky Survey", "Show 1st-Gen DSS Image" ), ksw->map(), TQT_SLOT( slotDSS() ) );
- insertItem( i18n( "Second Generation Digitized Sky Survey", "Show 2nd-Gen DSS Image" ), ksw->map(), TQT_SLOT( slotDSS2() ) );
+ insertItem( i18n( "First Generation Digitized Sky Survey", "Show 1st-Gen DSS Image" ), ksw->map(), TQ_SLOT( slotDSS() ) );
+ insertItem( i18n( "Second Generation Digitized Sky Survey", "Show 2nd-Gen DSS Image" ), ksw->map(), TQ_SLOT( slotDSS2() ) );
}
}
@@ -104,13 +104,13 @@ void KSPopupMenu::addLinksToMenu( SkyObject *obj, bool showDSS, bool allowCustom
for ( ; itList != itListEnd; ++itList ) {
TQString t = TQString(*itTitle);
sURL = TQString(*itList);
- insertItem( i18n( "Image/info menu item (should be translated)", t.local8Bit() ), ksw->map(), TQT_SLOT( slotImage( int ) ), 0, id++ );
+ insertItem( i18n( "Image/info menu item (should be translated)", t.local8Bit() ), ksw->map(), TQ_SLOT( slotImage( int ) ), 0, id++ );
++itTitle;
}
if ( showDSS ) {
- insertItem( i18n( "First Generation Digitized Sky Survey", "Show 1st-Gen DSS Image" ), ksw->map(), TQT_SLOT( slotDSS() ) );
- insertItem( i18n( "Second Generation Digitized Sky Survey", "Show 2nd-Gen DSS Image" ), ksw->map(), TQT_SLOT( slotDSS2() ) );
+ insertItem( i18n( "First Generation Digitized Sky Survey", "Show 1st-Gen DSS Image" ), ksw->map(), TQ_SLOT( slotDSS() ) );
+ insertItem( i18n( "Second Generation Digitized Sky Survey", "Show 2nd-Gen DSS Image" ), ksw->map(), TQ_SLOT( slotDSS2() ) );
insertSeparator();
}
else if ( obj->ImageList.count() ) insertSeparator();
@@ -123,13 +123,13 @@ void KSPopupMenu::addLinksToMenu( SkyObject *obj, bool showDSS, bool allowCustom
for ( ; itList != itListEnd; ++itList ) {
TQString t = TQString(*itTitle);
sURL = TQString(*itList);
- insertItem( i18n( "Image/info menu item (should be translated)", t.local8Bit() ), ksw->map(), TQT_SLOT( slotInfo( int ) ), 0, id++ );
+ insertItem( i18n( "Image/info menu item (should be translated)", t.local8Bit() ), ksw->map(), TQ_SLOT( slotInfo( int ) ), 0, id++ );
++itTitle;
}
if ( allowCustom ) {
insertSeparator();
- insertItem( i18n( "Add Link..." ), ksw->map(), TQT_SLOT( addLink() ), 0, id++ );
+ insertItem( i18n( "Add Link..." ), ksw->map(), TQ_SLOT( addLink() ), 0, id++ );
}
}
@@ -201,7 +201,7 @@ bool KSPopupMenu::addINDI(void)
}
}
- TQObject::connect(menuDevice, TQT_SIGNAL(activated(int)), prop, TQT_SLOT (convertSwitch(int)));
+ TQObject::connect(menuDevice, TQ_SIGNAL(activated(int)), prop, TQ_SLOT (convertSwitch(int)));
} // end property
} // end group
@@ -217,7 +217,7 @@ bool KSPopupMenu::addINDI(void)
prop = dev->findElem("ALT")->pp;
prop->assosiatedPopup = menuDevice;
- TQObject::connect(menuDevice, TQT_SIGNAL(activated(int)), prop, TQT_SLOT(convertSwitch(int)));
+ TQObject::connect(menuDevice, TQ_SIGNAL(activated(int)), prop, TQ_SLOT(convertSwitch(int)));
}
} // end device
@@ -291,15 +291,15 @@ void KSPopupMenu::initPopupMenu( SkyObject *obj, TQString s1, TQString s2, TQStr
//Insert item for centering on object
if ( showCenterTrack && obj ) {
insertSeparator();
- insertItem( i18n( "Center && Track" ), ksw->map(), TQT_SLOT( slotCenter() ) );
+ insertItem( i18n( "Center && Track" ), ksw->map(), TQ_SLOT( slotCenter() ) );
}
//Insert item for measuring distances
if ( showAngularDistance && obj ) {
if (! (ksw->map()->isAngleMode()) ) {
- insertItem( i18n( "Angular Distance To... [" ), ksw->map(), TQT_SLOT( slotBeginAngularDistance() ) );
+ insertItem( i18n( "Angular Distance To... [" ), ksw->map(), TQ_SLOT( slotBeginAngularDistance() ) );
} else {
- insertItem( i18n( "Compute Angular Distance ]" ), ksw->map(), TQT_SLOT( slotEndAngularDistance() ) );
+ insertItem( i18n( "Compute Angular Distance ]" ), ksw->map(), TQ_SLOT( slotEndAngularDistance() ) );
}
}
@@ -307,30 +307,30 @@ void KSPopupMenu::initPopupMenu( SkyObject *obj, TQString s1, TQString s2, TQStr
//Insert item for Showing details dialog
if ( showDetails && obj ) {
- insertItem( i18n( "Show Detailed Information Dialog", "Details" ), ksw->map(), TQT_SLOT( slotDetail() ) );
+ insertItem( i18n( "Show Detailed Information Dialog", "Details" ), ksw->map(), TQ_SLOT( slotDetail() ) );
}
//Insert "Add/Remove Label" item
if ( showLabel && obj ) {
if ( ksw->map()->isObjectLabeled( obj ) ) {
- insertItem( i18n( "Remove Label" ), ksw->map(), TQT_SLOT( slotRemoveObjectLabel() ) );
+ insertItem( i18n( "Remove Label" ), ksw->map(), TQ_SLOT( slotRemoveObjectLabel() ) );
} else {
- insertItem( i18n( "Attach Label" ), ksw->map(), TQT_SLOT( slotAddObjectLabel() ) );
+ insertItem( i18n( "Attach Label" ), ksw->map(), TQ_SLOT( slotAddObjectLabel() ) );
}
}
if ( showObsList && obj ) {
if ( ksw->observingList()->contains( obj ) )
- insertItem( i18n("Remove From List"), ksw->observingList(), TQT_SLOT( slotRemoveObject() ) );
+ insertItem( i18n("Remove From List"), ksw->observingList(), TQ_SLOT( slotRemoveObject() ) );
else
- insertItem( i18n("Add to List"), ksw->observingList(), TQT_SLOT( slotAddObject() ) );
+ insertItem( i18n("Add to List"), ksw->observingList(), TQ_SLOT( slotAddObject() ) );
}
if ( showTrail && obj && obj->isSolarSystem() ) {
if ( addTrail ) {
- insertItem( i18n( "Add Trail" ), ksw->map(), TQT_SLOT( slotAddPlanetTrail() ) );
+ insertItem( i18n( "Add Trail" ), ksw->map(), TQ_SLOT( slotAddPlanetTrail() ) );
} else {
- insertItem( i18n( "Remove Trail" ), ksw->map(), TQT_SLOT( slotRemovePlanetTrail() ) );
+ insertItem( i18n( "Remove Trail" ), ksw->map(), TQ_SLOT( slotRemovePlanetTrail() ) );
}
}