diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 12:00:19 +0900 |
commit | 55cef714419f6e36e66dc75afc40682ea5c73a35 (patch) | |
tree | 5e72b5e899aa3837c1a7fd60fbe5cc21c0acead3 /kview/photobook/photobook.cpp | |
parent | 3849f5c32c10eba032a6738fd47331c0fa6afe1c (diff) | |
download | tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.tar.gz tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kview/photobook/photobook.cpp')
-rw-r--r-- | kview/photobook/photobook.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kview/photobook/photobook.cpp b/kview/photobook/photobook.cpp index ed21f123..00b0790b 100644 --- a/kview/photobook/photobook.cpp +++ b/kview/photobook/photobook.cpp @@ -167,7 +167,7 @@ PhotoBook::PhotoBook(TQWidget *parent, PhotoBookPart *part, const char *name) { KService::Ptr service = *i; mViewer = KParts::ComponentFactory:: - createPartInstanceFromService<KParts::ReadOnlyPart>( service, this, 0, TQT_TQOBJECT(this) ); + createPartInstanceFromService<KParts::ReadOnlyPart>( service, this, 0, this ); // is this the correct way to get the supported mimetypes? if (mViewer) @@ -236,8 +236,8 @@ PhotoBookPart::PhotoBookPart( bv, TQT_SIGNAL(emitUpdateButton(bool, bool)), this, TQT_SLOT(slotUpdateButton(bool, bool)) ); - m_pNextAction = KStdAction::next(TQT_TQOBJECT(bv), TQT_SLOT(next()), actionCollection(), "next"); - m_pPreviousAction = KStdAction::prior(TQT_TQOBJECT(bv), TQT_SLOT(previous()), actionCollection(), "previous"); + m_pNextAction = KStdAction::next(bv, TQT_SLOT(next()), actionCollection(), "next"); + m_pPreviousAction = KStdAction::prior(bv, TQT_SLOT(previous()), actionCollection(), "previous"); setXMLFile( "photobookui.rc" ); |