summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kstarsactions.cpp')
-rw-r--r--kstars/kstars/kstarsactions.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kstars/kstars/kstarsactions.cpp b/kstars/kstars/kstarsactions.cpp
index 900f586e..5ab8daeb 100644
--- a/kstars/kstars/kstarsactions.cpp
+++ b/kstars/kstars/kstarsactions.cpp
@@ -198,7 +198,7 @@ void KStars::slotWUT() {
//FIXME GLOSSARY
// void KStars::slotGlossary(){
-// GlossaryDialog *dlg = new GlossaryDialog( true, TQT_TQOBJECT(this), "glossary" );
+// GlossaryDialog *dlg = new GlossaryDialog( true, this, "glossary" );
// TQString glossaryfile =data()->stdDirs->findResource( "data", "kstars/glossary.xml" );
// KURL u = glossaryfile;
// Glossary *g = Glossary::readFromXML( u );
@@ -356,8 +356,8 @@ void KStars::slotViewOps() {
TDEConfigDialog* dialog = new TDEConfigDialog( this, "settings",
Options::self() );
- connect( dialog, TQT_SIGNAL( applyClicked() ), TQT_TQOBJECT(this), TQT_SLOT( slotApplySettings() ) );
- connect( dialog, TQT_SIGNAL( okClicked() ), TQT_TQOBJECT(this), TQT_SLOT( slotApplySettings() ) );
+ connect( dialog, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( slotApplySettings() ) );
+ connect( dialog, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotApplySettings() ) );
OpsCatalog *opcatalog = new OpsCatalog( this, "catalogs" );
OpsGuides *opguides = new OpsGuides( this, "guides" );
@@ -450,7 +450,7 @@ void KStars::slotExportImage() {
//Warn user if file exists!
if (TQFile::exists(fileURL.path()))
{
- int r=KMessageBox::warningContinueCancel(TQT_TQWIDGET(parent()),
+ int r=KMessageBox::warningContinueCancel(static_cast<TQWidget*>(parent()),
i18n( "A file named \"%1\" already exists. "
"Overwrite it?" ).arg(fileURL.fileName()),
i18n( "Overwrite File?" ),
@@ -873,7 +873,7 @@ void KStars::slotFOVEdit() {
if ( fields.count() == 4 ) {
TQString nm = fields[0].stripWhiteSpace();
- TDEToggleAction *kta = new TDEToggleAction( nm, 0, TQT_TQOBJECT(this), TQT_SLOT( slotTargetSymbol() ),
+ TDEToggleAction *kta = new TDEToggleAction( nm, 0, this, TQT_SLOT( slotTargetSymbol() ),
actionCollection(), nm.utf8() );
kta->setExclusiveGroup( "fovsymbol" );
fovActionMenu->insert( kta );
@@ -884,7 +884,7 @@ void KStars::slotFOVEdit() {
}
fovActionMenu->popupMenu()->insertSeparator();
- fovActionMenu->insert( new TDEAction( i18n( "Edit FOV Symbols..." ), 0, TQT_TQOBJECT(this),
+ fovActionMenu->insert( new TDEAction( i18n( "Edit FOV Symbols..." ), 0, this,
TQT_SLOT( slotFOVEdit() ), actionCollection(), "edit_fov" ) );
//set FOV to whatever was highlighted in FOV dialog
@@ -1020,7 +1020,7 @@ void KStars::slotShowGUIItem( bool show ) {
void KStars::addColorMenuItem( TQString name, TQString actionName ) {
colorActionMenu->insert( new TDEAction( name, 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotColorScheme() ), actionCollection(), actionName.local8Bit() ) );
+ this, TQT_SLOT( slotColorScheme() ), actionCollection(), actionName.local8Bit() ) );
}
void KStars::removeColorMenuItem( TQString actionName ) {