summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils/debuggui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils/debuggui.cpp')
-rw-r--r--kexi/kexiutils/debuggui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/kexiutils/debuggui.cpp b/kexi/kexiutils/debuggui.cpp
index f0a5146c..cbee692d 100644
--- a/kexi/kexiutils/debuggui.cpp
+++ b/kexi/kexiutils/debuggui.cpp
@@ -37,10 +37,10 @@ static KTabWidget* debugWindowTab = 0;
static KListView* kexiDBDebugPage = 0;
static KListView* kexiAlterTableActionDebugPage = 0;
-TQWidget *KexiUtils::createDebugWindow(TQWidget *tqparent)
+TQWidget *KexiUtils::createDebugWindow(TQWidget *parent)
{
// (this is internal code - do not use i18n() here)
- debugWindow = new DebugWindowDialog(tqparent);
+ debugWindow = new DebugWindowDialog(parent);
debugWindow->setSizeGripEnabled( true );
TQBoxLayout *lyr = new TQVBoxLayout(debugWindow, KDialogBase::marginHint());
debugWindowTab = new KTabWidget(debugWindow, "debugWindowTab");
@@ -127,7 +127,7 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
TQListViewItem * lastItem = kexiAlterTableActionDebugPage->lastItem();
//kdDebug() << "lastItem: " << (lastItem ? lastItem->text(0) : TQString()) << endl;
while (lastItem) {
- lastItem = lastItem->tqparent();
+ lastItem = lastItem->parent();
availableNestingLevels++;
}
//kdDebug() << "availableNestingLevels: " << availableNestingLevels << endl;
@@ -135,7 +135,7 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
lastItem = kexiAlterTableActionDebugPage->lastItem();
int levelsToGoUp = availableNestingLevels - nestingLevel;
while (levelsToGoUp > 0 && lastItem) {
- lastItem = lastItem->tqparent();
+ lastItem = lastItem->parent();
levelsToGoUp--;
}
//kdDebug() << "lastItem2: " << (lastItem ? lastItem->text(0) : TQString()) << endl;
@@ -150,8 +150,8 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
}
else {
lastItem = kexiAlterTableActionDebugPage->lastItem();
- while (lastItem && lastItem->tqparent())
- lastItem = lastItem->tqparent();
+ while (lastItem && lastItem->parent())
+ lastItem = lastItem->parent();
//kdDebug() << "lastItem2: " << (lastItem ? lastItem->text(0) : TQString()) << endl;
li = new KListViewItem( kexiAlterTableActionDebugPage, lastItem, text ); //after
}