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 | 9ca32ef31a2566af48c06f258722738df92366af (patch) | |
tree | c847db3bf1bb88b7863fed0cc60eef6bf641306a /src/modules/editor | |
parent | 72aaee9802d447ee21340b011856b9b355a58f1a (diff) | |
download | kvirc-9ca32ef31a2566af48c06f258722738df92366af.tar.gz kvirc-9ca32ef31a2566af48c06f258722738df92366af.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/editor')
-rw-r--r-- | src/modules/editor/libkvieditor.cpp | 4 | ||||
-rw-r--r-- | src/modules/editor/scripteditor.cpp | 12 | ||||
-rw-r--r-- | src/modules/editor/scripteditor.h | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/editor/libkvieditor.cpp b/src/modules/editor/libkvieditor.cpp index 1ef36b5d..8d087476 100644 --- a/src/modules/editor/libkvieditor.cpp +++ b/src/modules/editor/libkvieditor.cpp @@ -43,7 +43,7 @@ static bool editor_module_cleanup(KviModule *m) { while(g_pScriptEditorWindowList->first()) { - TQObject * w = g_pScriptEditorWindowList->first()->tqparent();; + TQObject * w = g_pScriptEditorWindowList->first()->parent();; while(w) { //debug("%s %s %i %s",__FILE__,__FUNCTION__,__LINE__,w->className()); @@ -54,7 +54,7 @@ static bool editor_module_cleanup(KviModule *m) // debug("%s %s %i",__FILE__,__FUNCTION__,__LINE__); break; } - w = w->tqparent(); + w = w->parent(); } delete g_pScriptEditorWindowList->first(); } diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 498da234..25508d66 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -74,8 +74,8 @@ static TQColor g_clrFind(0,0,0); static TQFont g_fntNormal("Courier New",8); -KviCompletionBox::KviCompletionBox(TQWidget * tqparent = 0) -: KviTalListBox(tqparent) +KviCompletionBox::KviCompletionBox(TQWidget * parent = 0) +: KviTalListBox(parent) { setPaletteForegroundColor(TQColor(0,0,0)); setPaletteBackgroundColor(TQColor(255,255,255)); @@ -323,7 +323,7 @@ void KviScriptEditorWidget::keyPressEvent(TQKeyEvent * e) case TQt::Key_Return: case TQt::Key_Backspace: case TQt::Key_PageUp: - e->ignore(); // allow the tqparent to process it + e->ignore(); // allow the parent to process it return; break; } @@ -1117,10 +1117,10 @@ void KviScriptEditorImplementation::configureColors() saveOptions(); } } -KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* tqparent, const char* name) - : TQDialog( tqparent) +KviScriptEditorReplaceDialog::KviScriptEditorReplaceDialog( TQWidget* parent, const char* name) + : TQDialog( parent) { - m_pParent=tqparent; + m_pParent=parent; emit initFind(); setPaletteForegroundColor( TQColor( 0, 0, 0 ) ); setPaletteBackgroundColor( TQColor( 236, 233, 216 ) ); diff --git a/src/modules/editor/scripteditor.h b/src/modules/editor/scripteditor.h index 91635726..4802be33 100644 --- a/src/modules/editor/scripteditor.h +++ b/src/modules/editor/scripteditor.h @@ -47,7 +47,7 @@ class KviCompletionBox: public KviTalListBox Q_OBJECT TQ_OBJECT public: - KviCompletionBox(TQWidget * tqparent); + KviCompletionBox(TQWidget * parent); ~KviCompletionBox(){}; void updateContents(TQString word); @@ -176,7 +176,7 @@ class KviScriptEditorReplaceDialog: public TQDialog Q_OBJECT TQ_OBJECT public: - KviScriptEditorReplaceDialog( TQWidget* tqparent = 0, const char* name = 0); + KviScriptEditorReplaceDialog( TQWidget* parent = 0, const char* name = 0); ~KviScriptEditorReplaceDialog(); TQLineEdit *m_pFindlineedit; TQLineEdit *m_pReplacelineedit; |