From d5688771d8a6837975be512ee37f61bad7dbd345 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:23 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interfaces/tdemediaplayer/tdefileaudiopreview') diff --git a/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.cpp b/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.cpp index 370805a74..72f870c7e 100644 --- a/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.cpp +++ b/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.cpp @@ -25,7 +25,7 @@ protected: { Q_UNUSED(className); Q_UNUSED(args); - return TQT_TQOBJECT(new KFileAudioPreview( dynamic_cast( parent ), name )); + return new KFileAudioPreview( dynamic_cast( parent ), name ); } }; @@ -41,7 +41,7 @@ class KFileAudioPreview::KFileAudioPreviewPrivate public: KFileAudioPreviewPrivate( TQWidget *parent ) { - player = KParts::ComponentFactory::createInstanceFromQuery( "KMediaPlayer/Player", TQString(), TQT_TQOBJECT(parent) ); + player = KParts::ComponentFactory::createInstanceFromQuery( "KMediaPlayer/Player", TQString(), parent ); } ~KFileAudioPreviewPrivate() -- cgit v1.2.1