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/externaltoolaction.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/externaltoolaction.cpp')
-rw-r--r-- | src/gvcore/externaltoolaction.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gvcore/externaltoolaction.cpp b/src/gvcore/externaltoolaction.cpp index f8e4ad6..4953e8d 100644 --- a/src/gvcore/externaltoolaction.cpp +++ b/src/gvcore/externaltoolaction.cpp @@ -18,8 +18,8 @@ Copyright 2000-2004 Aur�lien G�teau Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -// Qt -#include <qdir.h> +// TQt +#include <tqdir.h> // KDE #include <kdebug.h> @@ -31,25 +31,25 @@ Copyright 2000-2004 Aur�lien G�teau namespace Gwenview { ExternalToolAction::ExternalToolAction( - QObject* parent, const KService* service, + TQObject* tqparent, const KService* service, const KURL::List& urls) -: KAction(parent) +: KAction(tqparent) , mService(service) , mURLs(urls) { setText(service->name()); setIcon(service->icon()); - connect(this, SIGNAL(activated()), - this, SLOT(openExternalTool()) ); + connect(this, TQT_SIGNAL(activated()), + this, TQT_SLOT(openExternalTool()) ); } void ExternalToolAction::openExternalTool() { - QString dir=mURLs.first().directory(); - QDir::setCurrent(dir); + TQString dir=mURLs.first().directory(); + TQDir::setCurrent(dir); - QStringList args=KRun::processDesktopExec(*mService, mURLs, true); + TQStringList args=KRun::processDesktopExec(*mService, mURLs, true); KRun::runCommand(args.join(" "), mService->name(), mService->icon()); } |