diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 625904bd3097f9749450428904ca14ff2531824d (patch) | |
tree | a45c43d5de71cb720078fa1272a4339815a919be /kgpg/kgpgview.cpp | |
parent | 6335dc55802871b5a43492f217b6edbb420204c4 (diff) | |
download | tdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgpg/kgpgview.cpp')
-rw-r--r-- | kgpg/kgpgview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kgpg/kgpgview.cpp b/kgpg/kgpgview.cpp index d94345f..f85563c 100644 --- a/kgpg/kgpgview.cpp +++ b/kgpg/kgpgview.cpp @@ -53,8 +53,8 @@ //////////////// configuration for editor -MyEditor::MyEditor( TQWidget *tqparent, const char *name ) - : KTextEdit( tqparent, name ) +MyEditor::MyEditor( TQWidget *parent, const char *name ) + : KTextEdit( parent, name ) { setTextFormat(PlainText); setCheckSpellingEnabled (true); @@ -190,7 +190,7 @@ void MyEditor::slotProcessResult(TQStringList iKeys) ////////////////////////// main view configuration -KgpgView::KgpgView(TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +KgpgView::KgpgView(TQWidget *parent, const char *name) : TQWidget(parent, name) { editor=new MyEditor(this); windowAutoClose=true; @@ -224,7 +224,7 @@ KgpgView::KgpgView(TQWidget *tqparent, const char *name) : TQWidget(tqparent, na void KgpgView::modified() { /////////////// notify for changes in editor window - KgpgApp *win=(KgpgApp *) tqparent(); + KgpgApp *win=(KgpgApp *) parent(); if (win->fileSave->isEnabled()==false) { TQString capt=win->Docname.fileName(); if (capt.isEmpty()) @@ -298,7 +298,7 @@ else editor->setText(signResult); emit resetEncoding(false); - KgpgApp *win=(KgpgApp *) tqparent(); + KgpgApp *win=(KgpgApp *) parent(); win->editRedo->setEnabled(false); win->editUndo->setEnabled(false); } @@ -311,7 +311,7 @@ void KgpgView::popuppublic() ///// popup dialog to select public key for encryption //////// open dialog --> popuppublic.cpp - popupPublic *dialogue=new popupPublic(this, "public_keys", 0,false,((KgpgApp *) tqparent())->goDefaultKey); + popupPublic *dialogue=new popupPublic(this, "public_keys", 0,false,((KgpgApp *) parent())->goDefaultKey); connect(dialogue,TQT_SIGNAL(selectedKey(TQStringList,TQStringList,bool,bool)),TQT_TQOBJECT(this),TQT_SLOT(encodetxt(TQStringList,TQStringList,bool,bool))); dialogue->exec(); delete dialogue; @@ -334,7 +334,7 @@ void KgpgView::slotdecode() txtDecrypt->KgpgDecryptText(editor->text(),TQStringList::split(TQString(" "),KGpgSettings::customDecrypt().simplifyWhiteSpace())); /* - KgpgApp *win=(KgpgApp *) tqparent(); + KgpgApp *win=(KgpgApp *) parent(); if (!resultat.isEmpty()) { editor->setText(resultat); win->editRedo->setEnabled(false); |