summaryrefslogtreecommitdiffstats
path: root/src/password.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:20 -0600
commit882bcd26b3d60be72ea2b35921969a9850c52db9 (patch)
tree8d0a6902c5de4632c4e73e35c4d86404fa75f470 /src/password.cpp
parentc82058b2b64334c10d7e547cb81ac64efe09f516 (diff)
downloadbasket-882bcd26b3d60be72ea2b35921969a9850c52db9.tar.gz
basket-882bcd26b3d60be72ea2b35921969a9850c52db9.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/password.cpp')
-rw-r--r--src/password.cpp8
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);