Browse Source

Initial TQt conversion.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
v3.5.13-sru
Slávek Banko 12 months ago
parent
commit
b691110dd3
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668
  1. 2
      CMakeLists.txt
  2. 10
      src/ksshaskpass.cpp

2
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})

10
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);

Loading…
Cancel
Save