summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/cryptography/kgpginterface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/plugins/cryptography/kgpginterface.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/cryptography/kgpginterface.h')
-rw-r--r--kopete/plugins/cryptography/kgpginterface.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/plugins/cryptography/kgpginterface.h b/kopete/plugins/cryptography/kgpginterface.h
index b70bc68a..f324359e 100644
--- a/kopete/plugins/cryptography/kgpginterface.h
+++ b/kopete/plugins/cryptography/kgpginterface.h
@@ -26,8 +26,8 @@
/**
* Encrypt a file using gpg.
*/
-//class KgpgEncryptFile : public QObject {
-class KgpgInterface : public QObject {
+//class KgpgEncryptFile : public TQObject {
+class KgpgInterface : public TQObject {
Q_OBJECT
@@ -39,26 +39,26 @@ class KgpgInterface : public QObject {
/**Encrypt text function
- * @param text QString text to be encrypted.
+ * @param text TQString text to be encrypted.
* @param userIDs the recipients key id's.
* @param Options String with the wanted gpg options. ex: "--armor"
* returns the encrypted text or empty string if encyption failed
*/
- static QString KgpgEncryptText(QString text,QString userIDs, QString Options="");
+ static TQString KgpgEncryptText(TQString text,TQString userIDs, TQString Options="");
/**Decrypt text function
- * @param text QString text to be decrypted.
- * @param userID QString the name of the decryption key (only used to prompt user for passphrase)
+ * @param text TQString text to be decrypted.
+ * @param userID TQString the name of the decryption key (only used to prompt user for passphrase)
*/
- static QString KgpgDecryptText(QString text,QString userID);
-// static QString KgpgDecryptFileToText(KURL srcUrl,QString userID);
+ static TQString KgpgDecryptText(TQString text,TQString userID);
+// static TQString KgpgDecryptFileToText(KURL srcUrl,TQString userID);
/*
* Destructor for the class.
*/
~KgpgInterface();
- static QString checkForUtf8(QString txt);
+ static TQString checkForUtf8(TQString txt);
private slots:
@@ -69,12 +69,12 @@ signals:
/**
* @internal structure for communication
*/
- QString message,tempKeyFile,userIDs,txtprocess,output;
- QCString passphrase;
+ TQString message,tempKeyFile,userIDs,txtprocess,output;
+ TQCString passphrase;
bool deleteSuccess,konsLocal,anonymous,txtsent,decfinished,decok,badmdc;
int signSuccess;
int step,signb,sigsearch;
- QString konsSignKey, konsKeyID;
+ TQString konsSignKey, konsKeyID;
/**