summaryrefslogtreecommitdiffstats
path: root/src/gvcore/externaltoolaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/externaltoolaction.cpp')
-rw-r--r--src/gvcore/externaltoolaction.cpp18
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());
}