summaryrefslogtreecommitdiffstats
path: root/src/autotraceformats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/autotraceformats.h')
-rw-r--r--src/autotraceformats.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/autotraceformats.h b/src/autotraceformats.h
index 00359d8..aa00e9b 100644
--- a/src/autotraceformats.h
+++ b/src/autotraceformats.h
@@ -20,34 +20,35 @@
#ifndef AUTOTRACEFORMATS_H
#define AUTOTRACEFORMATS_H
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qprocess.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <tqprocess.h>
//! Class to read autotrace input and output formats
/** This class executes autotrace to gain informations about the formats it can use
* \author Antonio Fasolato
*/
-class AutotraceFormats : public QObject
+class AutotraceFormats : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- //! Standard QObject-like constructor
+ //! Standard TQObject-like constructor
/** The constructor, nothing fancy
- * \param parent The parent of the QObject
- * \param name The name of the QObject
+ * \param tqparent The tqparent of the TQObject
+ * \param name The name of the TQObject
*/
- AutotraceFormats(QObject *parent = 0, const char *name = 0);
+ AutotraceFormats(TQObject *tqparent = 0, const char *name = 0);
//!Returns the list of supported input formats
/** This class returns the list of formats returned by <code>autotrace -list-input-formats</code>
* \return The supported formats
*/
- QStringList inputFormats();
+ TQStringList inputFormats();
//!Returns the list of supported output formats
/** This class returns the list of formats returned by <code>autotrace -list-output-formats</code>
* \return The supported formats
*/
- QStringList outputFormats();
+ TQStringList outputFormats();
//! Function to test the execution of autotrace
/** This functions returns <code>true</code> if the autotrace command could be run succesfully. If it returns
* <code>false</code> autotrace executable can not be found in the environment
@@ -62,13 +63,13 @@ public:
private:
//! The process to get input formats
- QProcess *inputProcess;
+ TQProcess *inputProcess;
//! The process to get output formats
- QProcess *outputProcess;
+ TQProcess *outputProcess;
//! The list of input formats
- QStringList input;
+ TQStringList input;
//! The list of output formats
- QStringList output;
+ TQStringList output;
//! <code>true</code> if autotrace could be run
bool allOK;