diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 14:15:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 14:15:01 -0600 |
commit | 1b89319fd93b88313cab40f1e9de24c067b04efb (patch) | |
tree | 80132996de993c3dcab4040864d7729842875b2d /src/toolinfo.h | |
parent | d08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff) | |
download | kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip |
Initial TQt conversion
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(); |