summaryrefslogtreecommitdiffstats
path: root/digikam/showfoto/showfoto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/showfoto/showfoto.cpp')
-rw-r--r--digikam/showfoto/showfoto.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/digikam/showfoto/showfoto.cpp b/digikam/showfoto/showfoto.cpp
index 4f1caf2..2ebde81 100644
--- a/digikam/showfoto/showfoto.cpp
+++ b/digikam/showfoto/showfoto.cpp
@@ -204,7 +204,7 @@ ShowFoto::ShowFoto(const KURL::List& urlList)
// Load image plugins to GUI
- m_imagePluginLoader = new Digikam::ImagePluginLoader(TQT_TQOBJECT(this), d->splash);
+ m_imagePluginLoader = new Digikam::ImagePluginLoader(this, d->splash);
loadImagePlugins();
// If plugin core is not available, plug BCG actions to collection instead.
@@ -215,22 +215,22 @@ ShowFoto::ShowFoto(const KURL::List& urlList)
d->BCGAction->setDelayed(false);
TDEAction *incGammaAction = new TDEAction(i18n("Increase Gamma"), 0, ALT+Key_G,
- TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
+ this, TQT_SLOT(slotChangeBCG()),
actionCollection(), "gamma_plus");
TDEAction *decGammaAction = new TDEAction(i18n("Decrease Gamma"), 0, ALT+SHIFT+Key_G,
- TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
+ this, TQT_SLOT(slotChangeBCG()),
actionCollection(), "gamma_minus");
TDEAction *incBrightAction = new TDEAction(i18n("Increase Brightness"), 0, ALT+Key_B,
- TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
+ this, TQT_SLOT(slotChangeBCG()),
actionCollection(), "brightness_plus");
TDEAction *decBrightAction = new TDEAction(i18n("Decrease Brightness"), 0, ALT+SHIFT+Key_B,
- TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
+ this, TQT_SLOT(slotChangeBCG()),
actionCollection(), "brightness_minus");
TDEAction *incContrastAction = new TDEAction(i18n("Increase Contrast"), 0, ALT+Key_C,
- TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
+ this, TQT_SLOT(slotChangeBCG()),
actionCollection(), "contrast_plus");
TDEAction *decContrastAction = new TDEAction(i18n("Decrease Contrast"), 0, ALT+SHIFT+Key_C,
- TQT_TQOBJECT(this), TQT_SLOT(slotChangeBCG()),
+ this, TQT_SLOT(slotChangeBCG()),
actionCollection(), "contrast_minus");
d->BCGAction->insert(incBrightAction);
@@ -393,10 +393,10 @@ void ShowFoto::setupConnections()
setupStandardConnections();
connect(d->thumbBar, TQT_SIGNAL(signalURLSelected(const KURL&)),
- TQT_TQOBJECT(this), TQT_SLOT(slotOpenURL(const KURL&)));
+ this, TQT_SLOT(slotOpenURL(const KURL&)));
connect(d->thumbBar, TQT_SIGNAL(signalItemAdded()),
- TQT_TQOBJECT(this), TQT_SLOT(slotUpdateItemInfo()));
+ this, TQT_SLOT(slotUpdateItemInfo()));
connect(this, TQT_SIGNAL(signalSelectionChanged(const TQRect &)),
d->rightSidebar, TQT_SLOT(slotImageSelectionChanged(const TQRect &)));
@@ -478,24 +478,24 @@ void ShowFoto::setupActions()
// Extra 'File' menu actions ---------------------------------------------
- d->fileOpenAction = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotOpenFile()),
+ d->fileOpenAction = KStdAction::open(this, TQT_SLOT(slotOpenFile()),
actionCollection(), "showfoto_open_file");
d->openFilesInFolderAction = new TDEAction(i18n("Open folder"),
"folder_image",
CTRL+SHIFT+Key_O,
- TQT_TQOBJECT(this),
+ this,
TQT_SLOT(slotOpenFilesInFolder()),
actionCollection(),
"showfoto_open_folder");
- KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection(), "showfoto_quit");
+ KStdAction::quit(this, TQT_SLOT(close()), actionCollection(), "showfoto_quit");
// Extra 'View' menu actions ---------------------------------------------
d->showBarAction = new TDEToggleAction(i18n("Show Thumbnails"), 0,
CTRL+Key_T,
- TQT_TQOBJECT(this), TQT_SLOT(slotToggleShowBar()),
+ this, TQT_SLOT(slotToggleShowBar()),
actionCollection(), "shofoto_showthumbs");
// --- Create the gui --------------------------------------------------------------
@@ -1115,7 +1115,7 @@ void ShowFoto::slotDeleteCurrentItem()
{
TDEIO::Job* job = TDEIO::del( urlCurrent );
connect( job, TQT_SIGNAL(result( TDEIO::Job* )),
- TQT_TQOBJECT(this), TQT_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) );
+ this, TQT_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) );
}
}
else
@@ -1129,7 +1129,7 @@ void ShowFoto::slotDeleteCurrentItem()
TDEIO::Job* job = TDEIO::move( urlCurrent, dest );
connect( job, TQT_SIGNAL(result( TDEIO::Job* )),
- TQT_TQOBJECT(this), TQT_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) );
+ this, TQT_SLOT(slotDeleteCurrentItemResult( TDEIO::Job*)) );
}
}