summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins/ofximport/ofxpartner.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/plugins/ofximport/ofxpartner.h')
-rw-r--r--kmymoney2/plugins/ofximport/ofxpartner.h36
1 files changed, 19 insertions, 17 deletions
diff --git a/kmymoney2/plugins/ofximport/ofxpartner.h b/kmymoney2/plugins/ofximport/ofxpartner.h
index e624282..84f4d2a 100644
--- a/kmymoney2/plugins/ofximport/ofxpartner.h
+++ b/kmymoney2/plugins/ofximport/ofxpartner.h
@@ -22,8 +22,8 @@
// QT Includes
-#include <qobject.h>
-#include <qhttp.h>
+#include <tqobject.h>
+#include <tqhttp.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -49,54 +49,56 @@ namespace OfxPartner
* default will be to store the files in the current
* directory.
*/
- void setDirectory(const QString& dir);
+ void setDirectory(const TQString& dir);
void ValidateIndexCache(void);
- OfxFiServiceInfo ServiceInfo(const QString& fipid);
- QValueList<QString> BankNames(void);
- QValueList<QString> FipidForBank(const QString& bank);
+ OfxFiServiceInfo ServiceInfo(const TQString& fipid);
+ TQValueList<TQString> BankNames(void);
+ TQValueList<TQString> FipidForBank(const TQString& bank);
}
-class OfxHttpRequest : public QObject
+class OfxHttpRequest : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- OfxHttpRequest(const QString& method, const KURL &url, const QByteArray &postData, const QMap<QString, QString>& metaData, const KURL& dst, bool showProgressInfo=true);
+ OfxHttpRequest(const TQString& method, const KURL &url, const TQByteArray &postData, const TQMap<TQString, TQString>& metaData, const KURL& dst, bool showProgressInfo=true);
virtual ~OfxHttpRequest() {}
- QHttp::Error error(void) const { return m_error; }
+ TQHttp::Error error(void) const { return m_error; }
protected slots:
void slotOfxFinished(int, bool);
private:
- QHttp* m_job;
+ TQHttp* m_job;
KURL m_dst;
- QHttp::Error m_error;
+ TQHttp::Error m_error;
};
-class OfxHttpsRequest : public QObject
+class OfxHttpsRequest : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- OfxHttpsRequest(const QString& method, const KURL &url, const QByteArray &postData, const QMap<QString, QString>& metaData, const KURL& dst, bool showProgressInfo=true);
+ OfxHttpsRequest(const TQString& method, const KURL &url, const TQByteArray &postData, const TQMap<TQString, TQString>& metaData, const KURL& dst, bool showProgressInfo=true);
virtual ~OfxHttpsRequest();
- QHttp::Error error(void) const { return m_error; }
+ TQHttp::Error error(void) const { return m_error; }
protected slots:
void slotOfxFinished(KIO::Job*);
- void slotOfxData(KIO::Job*,const QByteArray&);
+ void slotOfxData(KIO::Job*,const TQByteArray&);
void slotOfxConnected(KIO::Job*);
private:
class Private;
Private* d;
KURL m_dst;
- QFile m_file;
- QHttp::Error m_error;
+ TQFile m_file;
+ TQHttp::Error m_error;
KIO::TransferJob* m_job;
};
#endif // OFXPARTNER_H