diff options
Diffstat (limited to 'certmanager/lib')
-rw-r--r-- | certmanager/lib/ui/passphrasedialog.cpp | 2 | ||||
-rw-r--r-- | certmanager/lib/ui/passphrasedialog.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/certmanager/lib/ui/passphrasedialog.cpp b/certmanager/lib/ui/passphrasedialog.cpp index e9f1e3e98..990f93cdf 100644 --- a/certmanager/lib/ui/passphrasedialog.cpp +++ b/certmanager/lib/ui/passphrasedialog.cpp @@ -100,7 +100,7 @@ Kleo::PassphraseDialog::~PassphraseDialog() { delete d; d = 0; } -const TQString Kleo::PassphraseDialog::passphrase() const { +TQString Kleo::PassphraseDialog::passphrase() const { return d->lineedit->password(); } diff --git a/certmanager/lib/ui/passphrasedialog.h b/certmanager/lib/ui/passphrasedialog.h index 2416f811b..6515fa4ca 100644 --- a/certmanager/lib/ui/passphrasedialog.h +++ b/certmanager/lib/ui/passphrasedialog.h @@ -63,13 +63,13 @@ namespace Kleo { bool modal=true ); ~PassphraseDialog(); - const TQString passphrase() const; + TQString passphrase() const; signals: /** emitted when the user clicks Ok. \a pass is never NULL. \c pass only valid inside slots connected to this signal. */ - void finished( const TQString pass ); + void finished( const TQString &pass ); /** emitted when the user clicks Cancel. */ void canceled(); |