diff options
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; |