diff options
Diffstat (limited to 'ark/zip.cpp')
-rw-r--r-- | ark/zip.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ark/zip.cpp b/ark/zip.cpp index f223016..59db0c9 100644 --- a/ark/zip.cpp +++ b/ark/zip.cpp @@ -26,7 +26,7 @@ */ -// Qt includes +// TQt includes #include <tqdir.h> // KDE includes @@ -103,7 +103,7 @@ void ZipArch::open() if ( !kp->start( KProcess::NotifyOnExit, KProcess::AllOutput ) ) { KMessageBox::error( 0, i18n( "Could not start a subprocess." ) ); - emit sigOpen( this, false, TQString::null, 0 ); + emit sigOpen( this, false, TQString(), 0 ); } } @@ -240,7 +240,7 @@ void ZipArch::unarchFileInternal() bool ZipArch::passwordRequired() { - return m_lastShellOutput.findRev("unable to get password\n")!=-1 || m_lastShellOutput.endsWith("password inflating\n") || m_lastShellOutput.findRev("password incorrect--reenter:")!=-1 || m_lastShellOutput.endsWith("incorrect password\n"); + return m_lastShellOutput.tqfindRev("unable to get password\n")!=-1 || m_lastShellOutput.endsWith("password inflating\n") || m_lastShellOutput.tqfindRev("password incorrect--reenter:")!=-1 || m_lastShellOutput.endsWith("incorrect password\n"); } void ZipArch::remove( TQStringList *list ) |