diff options
Diffstat (limited to 'src/password.cpp')
-rw-r--r-- | src/password.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/password.cpp b/src/password.cpp index b7b3f12..9ae4284 100644 --- a/src/password.cpp +++ b/src/password.cpp @@ -22,7 +22,7 @@ #ifdef HAVE_LIBGPGME -#include <tqlayout.h> +#include <layout.h> #include <tqtoolbutton.h> #include <tqbuttongroup.h> #include <tqradiobutton.h> @@ -36,9 +36,9 @@ PasswordDlg::PasswordDlg(TQWidget *parent, const char *name) :KDialogBase(Plain, i18n("Password Protection"), Ok|Cancel, Ok, parent, name, /*modal=*/true, /*separator=*/true), w(0) { - TQHBoxLayout* toptqlayout = new TQHBoxLayout(plainPage(), 0, 0); + TQHBoxLayout* toplayout = new TQHBoxLayout(plainPage(), 0, 0); w = new Password(plainPage()); - toptqlayout->addWidget(w, 1); + toplayout->addWidget(w, 1); } PasswordDlg::~PasswordDlg() @@ -97,7 +97,7 @@ Password::Password(TQWidget *parent, const char *name) for(KGpgKeyList::iterator it = list.begin(); it != list.end(); ++it) { TQString name = gpg.checkForUtf8((*it).name); - keyCombo->insertItem(TQString("%1 <%2> %3").tqarg(name).tqarg((*it).email).tqarg((*it).id)); + keyCombo->insertItem(TQString("%1 <%2> %3").arg(name).arg((*it).email).arg((*it).id)); } publicPrivateRadioButton->setEnabled(keyCombo->count() > 0); keyCombo->setEnabled(keyCombo->count() > 0); |