From bf7f88413be3831a9372d323d02fc0335b9f9188 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 21:04:57 +0000 Subject: TQt4 port Gwenview This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gvcore/externaltoolcontext.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gvcore/externaltoolcontext.cpp') diff --git a/src/gvcore/externaltoolcontext.cpp b/src/gvcore/externaltoolcontext.cpp index 24456e5..a82f900 100644 --- a/src/gvcore/externaltoolcontext.cpp +++ b/src/gvcore/externaltoolcontext.cpp @@ -36,10 +36,10 @@ Copyright 2000-2004 Aur namespace Gwenview { ExternalToolContext::ExternalToolContext( - QObject* parent, + TQObject* tqparent, std::list services, KURL::List urls) -: QObject(parent) +: TQObject(tqparent) , mServices(services) , mURLs(urls) {} @@ -56,8 +56,8 @@ void ExternalToolContext::showOpenWithDialog() { } -QPopupMenu* ExternalToolContext::popupMenu() { - QPopupMenu* menu=new QPopupMenu(); +TQPopupMenu* ExternalToolContext::popupMenu() { + TQPopupMenu* menu=new TQPopupMenu(); std::list::const_iterator it=mServices.begin(); std::list::const_iterator itEnd=mServices.end(); for (;it!=itEnd; ++it) { @@ -68,11 +68,11 @@ QPopupMenu* ExternalToolContext::popupMenu() { menu->insertSeparator(); menu->insertItem(i18n("Other..."), - this, SLOT(showOpenWithDialog()) ); + this, TQT_SLOT(showOpenWithDialog()) ); menu->insertItem( SmallIcon("configure"), i18n("Configure External Tools..."), - this, SLOT(showExternalToolDialog()) ); + this, TQT_SLOT(showExternalToolDialog()) ); return menu; } -- cgit v1.2.1