diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-24 18:51:56 +0900 |
commit | 904cb397f13483aa3ed5fb45079120b0eed7b0bb (patch) | |
tree | 84217af9ba8f0a2bc735f20d6ddc95cb27e8ef34 /kview/photobook | |
parent | c9e40417ac00954826c50f8f6579639255c46476 (diff) | |
download | tdegraphics-904cb397f13483aa3ed5fb45079120b0eed7b0bb.tar.gz tdegraphics-904cb397f13483aa3ed5fb45079120b0eed7b0bb.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 55cef714419f6e36e66dc75afc40682ea5c73a35)
Diffstat (limited to 'kview/photobook')
-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" ); |