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-24 18:51:56 +0900 |
| commit | 904cb397f13483aa3ed5fb45079120b0eed7b0bb (patch) | |
| tree | 84217af9ba8f0a2bc735f20d6ddc95cb27e8ef34 /kview/photobook/photobook.cpp | |
| parent | c9e40417ac00954826c50f8f6579639255c46476 (diff) | |
| download | tdegraphics-904cb397.tar.gz tdegraphics-904cb397.zip | |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 55cef714419f6e36e66dc75afc40682ea5c73a35)
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" ); |
