diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
commit | bf7f88413be3831a9372d323d02fc0335b9f9188 (patch) | |
tree | 516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvcore/externaltoolcontext.cpp | |
parent | e238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff) | |
download | gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip |
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
Diffstat (limited to 'src/gvcore/externaltoolcontext.cpp')
-rw-r--r-- | src/gvcore/externaltoolcontext.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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élien Gâteau namespace Gwenview { ExternalToolContext::ExternalToolContext( - QObject* parent, + TQObject* tqparent, std::list<KService*> 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<KService*>::const_iterator it=mServices.begin(); std::list<KService*>::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; } |