summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/kftpqueueconverter.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:27:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:27:17 -0500
commit883a1fc629f00e9a41efad8514afd1ccf259d8c2 (patch)
tree53191c33748f9cd949a2eb86a64fbedc86c5ac75 /kftpgrabber/src/kftpqueueconverter.h
parent1385303ea163214e30825730ac0fbcc27f9634aa (diff)
downloadkftpgrabber-883a1fc629f00e9a41efad8514afd1ccf259d8c2.tar.gz
kftpgrabber-883a1fc629f00e9a41efad8514afd1ccf259d8c2.zip
Convert to TDE R14 API
Diffstat (limited to 'kftpgrabber/src/kftpqueueconverter.h')
-rw-r--r--kftpgrabber/src/kftpqueueconverter.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kftpgrabber/src/kftpqueueconverter.h b/kftpgrabber/src/kftpqueueconverter.h
index 345439f..3ec925b 100644
--- a/kftpgrabber/src/kftpqueueconverter.h
+++ b/kftpgrabber/src/kftpqueueconverter.h
@@ -36,8 +36,8 @@
#ifndef KFTPQUEUECONVERTER_H
#define KFTPQUEUECONVERTER_H
-#include <qobject.h>
-#include <qdom.h>
+#include <ntqobject.h>
+#include <ntqdom.h>
namespace KFTPQueue {
class Transfer;
@@ -48,11 +48,11 @@ This class provides queue export/import to XML files.
@author Jernej Kos
*/
-class KFTPQueueConverter : public QObject
+class KFTPQueueConverter : public TQObject
{
Q_OBJECT
public:
- KFTPQueueConverter(QObject *parent = 0, const char *name = 0);
+ KFTPQueueConverter(TQObject *parent = 0, const char *name = 0);
/**
* Import queue from XML file. When called, this function will create
@@ -60,7 +60,7 @@ public:
*
* @param filename XML file that contains the queue
*/
- void importQueue(const QString &filename);
+ void importQueue(const TQString &filename);
/**
* Export queue to XML file. It will take all current KFTPQueueTransfers
@@ -68,15 +68,15 @@ public:
*
* @param filename File where queue will be exported
*/
- void exportQueue(const QString &filename);
+ void exportQueue(const TQString &filename);
private:
- QDomDocument m_xml;
+ TQDomDocument m_xml;
- void generateXML(KFTPQueue::Transfer *transfer, QDomNode parent);
- void createTextNode(const QString &name, const QString &value, QDomNode parent);
+ void generateXML(KFTPQueue::Transfer *transfer, TQDomNode parent);
+ void createTextNode(const TQString &name, const TQString &value, TQDomNode parent);
- void importNode(QDomNode node, QObject *parent = 0);
- QString getTextNode(const QString &name, QDomNode parent);
+ void importNode(TQDomNode node, TQObject *parent = 0);
+ TQString getTextNode(const TQString &name, TQDomNode parent);
};
#endif