diff options
Diffstat (limited to 'src/toolinfo.h')
-rw-r--r-- | src/toolinfo.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/src/toolinfo.h b/src/toolinfo.h index 6e8ddef..b8bb4b8 100644 --- a/src/toolinfo.h +++ b/src/toolinfo.h @@ -21,14 +21,15 @@ #ifndef __ToolInfo_H__ #define __ToolInfo_H__ -#include <qstring.h> -#include <qprocess.h> -#include <qobject.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqprocess.h> +#include <tqobject.h> +#include <tqstringlist.h> -class ToolInfo : public QObject +class ToolInfo : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * Information about a helper program @@ -36,27 +37,27 @@ public: * @param Name Name of the tool * @return None */ - ToolInfo(const QString &Name); + ToolInfo(const TQString &Name); private: - QProcess *CollectToolInfoProcess; - QProcess *CollectOpenvpnCapabilitiesProcess; - QStringList SearchPathList; + TQProcess *CollectToolInfoProcess; + TQProcess *CollectOpenvpnCapabilitiesProcess; + TQStringList SearchPathList; bool collectRunning; bool collectOpenvpnCapabilitiesRunning; - QStringList *env; + TQStringList *env; public: - QString Name; //< Name of the tool - QString Version; //< Version number of the tool - QString PathToExec; //< Path to executable - QString Capabilities; - QString TryPath_first; //< try that path first before list + TQString Name; //< Name of the tool + TQString Version; //< Version number of the tool + TQString PathToExec; //< Path to executable + TQString Capabilities; + TQString TryPath_first; //< try that path first before list bool collectToolInfo(); //< Collects information of the tool bool programsInPath; bool found; - void addSearchPath(const QString &path); //< Adds a path for searching - void removeSearchPath(const QString &path); //< Removes a path for searching + void addSearchPath(const TQString &path); //< Adds a path for searching + void removeSearchPath(const TQString &path); //< Removes a path for searching void getOpenvpnCapabilities(); |