summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-26 02:39:58 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-26 02:39:58 +0200
commitb691110dd3ef831b33485db214b584bdb70e649e (patch)
tree3e7fabd15563c5b138635211e2e0c72d9bca543c
parent2c7714e6a1ccc5fdcfc2e1833d6c54135cdffb07 (diff)
downloadtdesshaskpass-b691110dd3ef831b33485db214b584bdb70e649e.tar.gz
tdesshaskpass-b691110dd3ef831b33485db214b584bdb70e649e.zip
Initial TQt conversion.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/ksshaskpass.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eaf05a3..481ab0a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ project(ksshaskpass) # the name of your project
cmake_minimum_required(VERSION 2.4.0)
-find_package(Qt3 REQUIRED) # find and setup Qt3 for this project
+find_package(TQt REQUIRED) # find and setup TQt for this project
find_package(KDE3 REQUIRED) # find and setup KDE3 for this project
add_definitions(${QT_DEFINITIONS} ${KDE3_DEFINITIONS})
diff --git a/src/ksshaskpass.cpp b/src/ksshaskpass.cpp
index 0822283..3151e2b 100644
--- a/src/ksshaskpass.cpp
+++ b/src/ksshaskpass.cpp
@@ -62,10 +62,10 @@ int main(int argc, char **argv)
// Declare variables
- QString walletFolder = about.appName();
- QString dialog = I18N_NOOP("Please enter password"); // Default dialog text
- QString keyFile;
- QCString password;
+ TQString walletFolder = about.appName();
+ TQString dialog = I18N_NOOP("Please enter password"); // Default dialog text
+ TQString keyFile;
+ TQCString password;
// Parse commandline arguments
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
if ( wallet && wallet->hasFolder(walletFolder) ) {
wallet->setFolder(walletFolder);
- QString retrievedPass;
+ TQString retrievedPass;
wallet->readPassword(keyFile, retrievedPass);