• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Utility Library
 

KDevelop Utility Library

Signals | Public Member Functions | List of all members
ExecCommand Class Reference

#include <execcommand.h>

Inherits TQObject.

Signals

void finished (const TQString &output, const TQString &errorOutput)
 

Public Member Functions

 ExecCommand (const TQString &executable, const TQStringList &args, const TQString &workingDir=TQString(), const TQStringList &env=TQStringList(), TQObject *parent=0, const char *name=0)
 

Detailed Description

This class invokes a binary with the arguments passed in the constructor and emits the signal finished() with the output.

It also displays a progress dialog with the possibility to cancel the command.

If there was an error or the user pressed cancel, finished () will emit a TQString(), otherwise TQStrings containing the stdout/stderr.

The object will delete itself after the finished signal has been emitted. Additional environment can be set in the TQStringList env via TQStrings with the format "foo=blah"

Definition at line 45 of file execcommand.h.


The documentation for this class was generated from the following files:
  • execcommand.h
  • execcommand.cpp

KDevelop Utility Library

Skip menu "KDevelop Utility Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KDevelop Utility Library

Skip menu "KDevelop Utility Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Utility Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.