summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme/qgpgmejob.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/backends/qgpgme/qgpgmejob.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmejob.h')
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmejob.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmejob.h b/certmanager/lib/backends/qgpgme/qgpgmejob.h
index da7acf1c9..d35080a72 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmejob.h
+++ b/certmanager/lib/backends/qgpgme/qgpgmejob.h
@@ -38,8 +38,8 @@
#include <gpgmepp/key.h>
-#include <qcstring.h>
-#include <qstring.h>
+#include <tqcstring.h>
+#include <tqstring.h>
#include <vector>
#include <kdepimmacros.h>
@@ -88,7 +88,7 @@ namespace Kleo {
/*! Hooks up mCtx to be managed by the event loop interactor */
void hookupContextToEventLoopInteractor();
/*! Fills mPatterns from the stringlist, resets chunking to the full list */
- void setPatterns( const QStringList & sl, bool allowEmpty=false );
+ void setPatterns( const TQStringList & sl, bool allowEmpty=false );
/*! Returnes the number of patterns set */
unsigned int numPatterns() const { return mNumPatterns; }
/*! Skips to the next chunk of patterns. @return patterns() */
@@ -103,7 +103,7 @@ namespace Kleo {
void createOutData();
/*! Creates a GpgME::Data/QGpgME::QByteArrayDataProvider pair,
filled with the contents of \a in */
- void createInData( const QByteArray & in );
+ void createInData( const TQByteArray & in );
/*! Sets the list of signing keys */
GpgME::Error setSigningKeys( const std::vector<GpgME::Key> & signers );
/*! Call this to implement a slotOperationDoneEvent() */
@@ -116,10 +116,10 @@ namespace Kleo {
//
protected:
- virtual void doEmitProgressSignal( const QString & what, int current, int total ) = 0;
+ virtual void doEmitProgressSignal( const TQString & what, int current, int total ) = 0;
virtual void doEmitDoneSignal() = 0;
void doSlotCancel();
- QString auditLogAsHtml() const { return mAuditLogAsHtml; }
+ TQString auditLogAsHtml() const { return mAuditLogAsHtml; }
private:
/*! \reimp from GpgME::ProgressProvider */
@@ -146,15 +146,15 @@ namespace Kleo {
unsigned int mNumPatterns;
unsigned int mChunkSize;
unsigned int mPatternStartIndex, mPatternEndIndex;
- QString mAuditLogAsHtml;
+ TQString mAuditLogAsHtml;
};
}
#define make_slot_cancel private: void slotCancel() { QGpgMEJob::doSlotCancel(); }
-#define make_progress_emitter private: void doEmitProgressSignal( const QString & what, int cur, int tot ) { emit progress( what, cur, tot ); }
+#define make_progress_emitter private: void doEmitProgressSignal( const TQString & what, int cur, int tot ) { emit progress( what, cur, tot ); }
#define make_done_emitter private: void doEmitDoneSignal() { emit done(); }
-#define make_auditLogAsHtml private: QString auditLogAsHtml() const { return QGpgMEJob::auditLogAsHtml(); }
+#define make_auditLogAsHtml private: TQString auditLogAsHtml() const { return QGpgMEJob::auditLogAsHtml(); }
#define QGPGME_JOB make_slot_cancel make_progress_emitter make_done_emitter make_auditLogAsHtml
#endif // __KLEO_QGPGMEJOB_H__