summaryrefslogtreecommitdiffstats
path: root/src/ciscopasswddecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ciscopasswddecoder.h')
-rw-r--r--src/ciscopasswddecoder.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ciscopasswddecoder.h b/src/ciscopasswddecoder.h
index f73f702..392a667 100644
--- a/src/ciscopasswddecoder.h
+++ b/src/ciscopasswddecoder.h
@@ -23,8 +23,8 @@
#include <iostream>
#include <string>
#include <fstream>
-#include <qstring.h>
-// #include <qchar.h>
+#include <tqstring.h>
+// #include <tqchar.h>
#include <stdio.h>
#include <stdlib.h>
@@ -41,16 +41,16 @@ using namespace std;
class CiscoPasswdDecoder
{
public:
- CiscoPasswdDecoder(QString& profileFile);
+ CiscoPasswdDecoder(TQString& profileFile);
~CiscoPasswdDecoder();
- bool decodePasswords(QString& userPasswd, QString& groupPasswd);
+ bool decodePasswords(TQString& userPasswd, TQString& groupPasswd);
private:
- void readProfileData(QString& profile, QString& userData, QString& groupData);
- QString profile;
+ void readProfileData(TQString& profile, TQString& userData, TQString& groupData);
+ TQString profile;
int hex2bin_c(unsigned int c);
- int hex2bin(QString str, QString& bin, int& len);
- int c_decrypt(QString ct, int len, char **resp, int reslenp);
+ int hex2bin(TQString str, TQString& bin, int& len);
+ int c_decrypt(TQString ct, int len, char **resp, int reslenp);
};