summaryrefslogtreecommitdiffstats
path: root/src/modules/editor/libkvieditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/editor/libkvieditor.cpp')
-rw-r--r--src/modules/editor/libkvieditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/editor/libkvieditor.cpp b/src/modules/editor/libkvieditor.cpp
index 14ad53b3..1ef36b5d 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())
{
- QObject * w = g_pScriptEditorWindowList->first()->parent();;
+ TQObject * w = g_pScriptEditorWindowList->first()->tqparent();;
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->parent();
+ w = w->tqparent();
}
delete g_pScriptEditorWindowList->first();
}
@@ -83,7 +83,7 @@ KVIRC_MODULE(
// We want C linkage on this one: we want to be able to dlsym() it with a simple name
// FIXME: Is this portable enough ? Or is better to have a table entry ?
-KVIMODULEEXPORTFUNC KviScriptEditor * editor_module_createScriptEditor(QWidget * par)
+KVIMODULEEXPORTFUNC KviScriptEditor * editor_module_createScriptEditor(TQWidget * par)
{
return new KviScriptEditorImplementation(par);
}