summaryrefslogtreecommitdiffstats
path: root/kdepasswd/passwd.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdepasswd/passwd.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdepasswd/passwd.h')
-rw-r--r--kdepasswd/passwd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdepasswd/passwd.h b/kdepasswd/passwd.h
index a0c27a5a9..72590740d 100644
--- a/kdepasswd/passwd.h
+++ b/kdepasswd/passwd.h
@@ -9,7 +9,7 @@
#ifndef __Passwd_h_Included__
#define __Passwd_h_Included__
-#include <qcstring.h>
+#include <tqcstring.h>
#include <kdesu/process.h>
/**
@@ -20,7 +20,7 @@ class PasswdProcess
: public PtyProcess
{
public:
- PasswdProcess(QCString user=0);
+ PasswdProcess(TQCString user=0);
~PasswdProcess();
enum Errors { PasswdNotFound=1, PasswordIncorrect, PasswordNotGood };
@@ -28,14 +28,14 @@ public:
int checkCurrent(const char *oldpass);
int exec(const char *oldpass, const char *newpass, int check=0);
- QCString error() { return m_Error; }
+ TQCString error() { return m_Error; }
private:
- bool isPrompt(QCString line, const char *word=0L);
+ bool isPrompt(TQCString line, const char *word=0L);
int ConversePasswd(const char *oldpass, const char *newpass,
int check);
- QCString m_User, m_Error;
+ TQCString m_User, m_Error;
bool bOtherUser;
};