summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpui.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /libkpgp/kpgpui.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkpgp/kpgpui.cpp')
-rw-r--r--libkpgp/kpgpui.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/libkpgp/kpgpui.cpp b/libkpgp/kpgpui.cpp
index cb07abc41..a52680b19 100644
--- a/libkpgp/kpgpui.cpp
+++ b/libkpgp/kpgpui.cpp
@@ -58,10 +58,10 @@ const int Kpgp::KeySelectionDialog::sCheckSelectionDelay = 250;
namespace Kpgp {
-PassphraseDialog::PassphraseDialog( TQWidget *tqparent,
+PassphraseDialog::PassphraseDialog( TQWidget *parent,
const TQString &caption, bool modal,
const TQString &keyID )
- :KDialogBase( tqparent, 0, modal, caption, Ok|Cancel )
+ :KDialogBase( parent, 0, modal, caption, Ok|Cancel )
{
TQHBox *hbox = makeHBoxMainWidget();
hbox->setSpacing( spacingHint() );
@@ -104,8 +104,8 @@ const char * PassphraseDialog::passphrase()
// ------------------------------------------------------------------------
// Forbidden accels for KMail: AC GH OP
// for KNode: ACE H O
-Config::Config( TQWidget *tqparent, const char *name, bool encrypt )
- : TQWidget( tqparent, name ), pgp( Module::getKpgp() )
+Config::Config( TQWidget *parent, const char *name, bool encrypt )
+ : TQWidget( parent, name ), pgp( Module::getKpgp() )
{
TQGroupBox * group;
TQLabel * label;
@@ -286,9 +286,9 @@ KeySelectionDialog::KeySelectionDialog( const KeyList& keyList,
const bool rememberChoice,
const unsigned int allowedKeys,
const bool extendedSelection,
- TQWidget *tqparent, const char *name,
+ TQWidget *parent, const char *name,
bool modal )
- : KDialogBase( tqparent, name, modal, title, Default|Ok|Cancel, Ok ),
+ : KDialogBase( parent, name, modal, title, Default|Ok|Cancel, Ok ),
mRememberCB( 0 ),
mAllowedKeys( allowedKeys ),
mCurrentContextMenuItem( 0 )
@@ -670,8 +670,8 @@ void KeySelectionDialog::updateKeyInfo( const Kpgp::Key* key,
return;
}
- if( lvi->tqparent() != 0 ) {
- lvi = lvi->tqparent();
+ if( lvi->parent() != 0 ) {
+ lvi = lvi->parent();
}
if( 0 == key ) {
@@ -788,8 +788,8 @@ KeySelectionDialog::getKeyId( const TQListViewItem* lvi ) const
KeyID keyId;
if( 0 != lvi ) {
- if( 0 != lvi->tqparent() ) {
- keyId = lvi->tqparent()->text(0).local8Bit();
+ if( 0 != lvi->parent() ) {
+ keyId = lvi->parent()->text(0).local8Bit();
}
else {
keyId = lvi->text(0).local8Bit();
@@ -1158,9 +1158,9 @@ void KeySelectionDialog::showAllItems()
}
// ------------------------------------------------------------------------
-KeyRequester::KeyRequester( TQWidget * tqparent, bool multipleKeys,
+KeyRequester::KeyRequester( TQWidget * parent, bool multipleKeys,
unsigned int allowedKeys, const char * name )
- : TQWidget( tqparent, name ),
+ : TQWidget( parent, name ),
mDialogCaption( i18n("OpenPGP Key Selection") ),
mDialogMessage( i18n("Please select an OpenPGP key to use.") ),
mMulti( multipleKeys ),
@@ -1268,9 +1268,9 @@ void KeyRequester::setAllowedKeys( int allowedKeys ) {
}
-PublicKeyRequester::PublicKeyRequester( TQWidget * tqparent, bool multi,
+PublicKeyRequester::PublicKeyRequester( TQWidget * parent, bool multi,
unsigned int allowed, const char * name )
- : KeyRequester( tqparent, multi, allowed & ~SecretKeys, name )
+ : KeyRequester( parent, multi, allowed & ~SecretKeys, name )
{
}
@@ -1284,9 +1284,9 @@ KeyIDList PublicKeyRequester::keyRequestHook( Module * pgp ) const {
return pgp->selectPublicKeys( mDialogCaption, mDialogMessage, mKeys, TQString(), mAllowedKeys );
}
-SecretKeyRequester::SecretKeyRequester( TQWidget * tqparent, bool multi,
+SecretKeyRequester::SecretKeyRequester( TQWidget * parent, bool multi,
unsigned int allowed, const char * name )
- : KeyRequester( tqparent, multi, allowed & ~PublicKeys, name )
+ : KeyRequester( parent, multi, allowed & ~PublicKeys, name )
{
}
@@ -1310,9 +1310,9 @@ KeyIDList SecretKeyRequester::keyRequestHook( Module * pgp ) const {
KeyApprovalDialog::KeyApprovalDialog( const TQStringList& addresses,
const TQValueVector<KeyIDList>& keyIDs,
const int allowedKeys,
- TQWidget *tqparent, const char *name,
+ TQWidget *parent, const char *name,
bool modal )
- : KDialogBase( tqparent, name, modal, i18n("Encryption Key Approval"),
+ : KDialogBase( parent, name, modal, i18n("Encryption Key Approval"),
Ok|Cancel, Ok ),
mKeys( keyIDs ),
mAllowedKeys( allowedKeys ),
@@ -1614,9 +1614,9 @@ KeyApprovalDialog::slotCancel()
// ------------------------------------------------------------------------
CipherTextDialog::CipherTextDialog( const TQCString & text,
- const TQCString & charset, TQWidget *tqparent,
+ const TQCString & charset, TQWidget *parent,
const char *name, bool modal )
- :KDialogBase( tqparent, name, modal, i18n("OpenPGP Information"), Ok|Cancel, Ok)
+ :KDialogBase( parent, name, modal, i18n("OpenPGP Information"), Ok|Cancel, Ok)
{
// FIXME (post KDE2.2): show some more info, e.g. the output of GnuPG/PGP
TQFrame *page = makeMainWidget();