summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kexi/kexiutils
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kexi/kexiutils')
-rw-r--r--kexi/kexiutils/debuggui.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/kexiutils/debuggui.cpp b/kexi/kexiutils/debuggui.cpp
index cbee692d..4119af75 100644
--- a/kexi/kexiutils/debuggui.cpp
+++ b/kexi/kexiutils/debuggui.cpp
@@ -34,8 +34,8 @@
static DebugWindowDialog* debugWindow = 0;
static KTabWidget* debugWindowTab = 0;
-static KListView* kexiDBDebugPage = 0;
-static KListView* kexiAlterTableActionDebugPage = 0;
+static TDEListView* kexiDBDebugPage = 0;
+static TDEListView* kexiAlterTableActionDebugPage = 0;
TQWidget *KexiUtils::createDebugWindow(TQWidget *parent)
{
@@ -66,7 +66,7 @@ void KexiUtils::addKexiDBDebug(const TQString& text)
KPushButton *btn_clear = new KPushButton(KGuiItem("Clear", "clear_left"), page);
hbox->addWidget(btn_clear);
- kexiDBDebugPage = new KListView(page, "kexiDbDebugPage");
+ kexiDBDebugPage = new TDEListView(page, "kexiDbDebugPage");
TQObject::connect(btn_clear, TQT_SIGNAL(clicked()), kexiDBDebugPage, TQT_SLOT(clear()));
vbox->addWidget(kexiDBDebugPage);
kexiDBDebugPage->addColumn("");
@@ -82,7 +82,7 @@ void KexiUtils::addKexiDBDebug(const TQString& text)
//add \n after (about) every 30 characters
//TODO TQString realText
- KListViewItem * li = new KListViewItem( kexiDBDebugPage, kexiDBDebugPage->lastItem(), text );
+ TDEListViewItem * li = new TDEListViewItem( kexiDBDebugPage, kexiDBDebugPage->lastItem(), text );
li->setMultiLinesEnabled( true );
}
@@ -106,7 +106,7 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
btn_sim->setName("simulateAlterTableExecution");
hbox->addWidget(btn_sim);
- kexiAlterTableActionDebugPage = new KListView(page, "kexiAlterTableActionDebugPage");
+ kexiAlterTableActionDebugPage = new TDEListView(page, "kexiAlterTableActionDebugPage");
TQObject::connect(btn_clear, TQT_SIGNAL(clicked()), kexiAlterTableActionDebugPage, TQT_SLOT(clear()));
vbox->addWidget(kexiAlterTableActionDebugPage);
kexiAlterTableActionDebugPage->addColumn("");
@@ -121,7 +121,7 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
}
if (text.isEmpty()) //don't move up!
return;
- KListViewItem * li;
+ TDEListViewItem * li;
int availableNestingLevels = 0;
// compute availableNestingLevels
TQListViewItem * lastItem = kexiAlterTableActionDebugPage->lastItem();
@@ -144,16 +144,16 @@ void KexiUtils::addAlterTableActionDebug(const TQString& text, int nestingLevel)
while (after && after->nextSibling())
after = after->nextSibling();
if (after)
- li = new KListViewItem( lastItem, after, text ); //child, after
+ li = new TDEListViewItem( lastItem, after, text ); //child, after
else
- li = new KListViewItem( lastItem, text ); //1st child
+ li = new TDEListViewItem( lastItem, text ); //1st child
}
else {
lastItem = kexiAlterTableActionDebugPage->lastItem();
while (lastItem && lastItem->parent())
lastItem = lastItem->parent();
//kdDebug() << "lastItem2: " << (lastItem ? lastItem->text(0) : TQString()) << endl;
- li = new KListViewItem( kexiAlterTableActionDebugPage, lastItem, text ); //after
+ li = new TDEListViewItem( kexiAlterTableActionDebugPage, lastItem, text ); //after
}
li->setOpen(true);
li->setMultiLinesEnabled( true );