summaryrefslogtreecommitdiffstats
path: root/kspy
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
commit7716a5e605907a009e19f429cec4e6b5f346bd71 (patch)
tree16cf4a5d7a24db774f988022d514adefc75015c0 /kspy
parent0117fbed932653a04aeef16b2ed7edee858959ac (diff)
downloadtdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.tar.gz
tdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kspy')
-rw-r--r--kspy/classinfoview.cpp4
-rw-r--r--kspy/classinfoview.h2
-rw-r--r--kspy/navview.cpp2
-rw-r--r--kspy/navview.h2
-rw-r--r--kspy/navviewitem.cpp4
-rw-r--r--kspy/navviewitem.h2
-rw-r--r--kspy/propsview.cpp8
-rw-r--r--kspy/propsview.h2
-rw-r--r--kspy/receiversview.cpp6
-rw-r--r--kspy/receiversview.h2
-rw-r--r--kspy/sigslotview.cpp10
-rw-r--r--kspy/sigslotview.h2
-rw-r--r--kspy/spy.cpp2
13 files changed, 24 insertions, 24 deletions
diff --git a/kspy/classinfoview.cpp b/kspy/classinfoview.cpp
index 87f018bb..5326aeae 100644
--- a/kspy/classinfoview.cpp
+++ b/kspy/classinfoview.cpp
@@ -25,7 +25,7 @@
#include "classinfoview.h"
-ClassInfoView::ClassInfoView(TQWidget *parent, const char *name ) : KListView(parent,name)
+ClassInfoView::ClassInfoView(TQWidget *parent, const char *name ) : TDEListView(parent,name)
{
addColumn( i18n( "Name" ) );
addColumn( i18n( "Value" ) );
@@ -45,7 +45,7 @@ void ClassInfoView::buildList( TQObject *o )
for (int index = 0; index < mo->numClassInfo(true); index++) {
const TQClassInfo * classInfo = mo->classInfo(index, true);
- new KListViewItem( this, classInfo->tqt_mo_ci_name, classInfo->tqt_mo_ci_value );
+ new TDEListViewItem( this, classInfo->tqt_mo_ci_name, classInfo->tqt_mo_ci_value );
}
}
diff --git a/kspy/classinfoview.h b/kspy/classinfoview.h
index 80ff0f0c..121a276c 100644
--- a/kspy/classinfoview.h
+++ b/kspy/classinfoview.h
@@ -25,7 +25,7 @@
*@author Richard Dale
*/
-class ClassInfoView : public KListView {
+class ClassInfoView : public TDEListView {
Q_OBJECT
public:
diff --git a/kspy/navview.cpp b/kspy/navview.cpp
index 2cdbec90..871792e4 100644
--- a/kspy/navview.cpp
+++ b/kspy/navview.cpp
@@ -23,7 +23,7 @@
#include "navview.h"
#include "navviewitem.h"
-NavView::NavView(TQWidget *parent, const char *name ) : KListView(parent,name)
+NavView::NavView(TQWidget *parent, const char *name ) : TDEListView(parent,name)
{
addColumn( i18n( "Name" ) );
addColumn( i18n( "Type" ) );
diff --git a/kspy/navview.h b/kspy/navview.h
index f90f709f..f0ab3ee1 100644
--- a/kspy/navview.h
+++ b/kspy/navview.h
@@ -26,7 +26,7 @@ class NavViewItem;
/**
* @author Richard Moore
*/
-class NavView : public KListView
+class NavView : public TDEListView
{
Q_OBJECT
diff --git a/kspy/navviewitem.cpp b/kspy/navviewitem.cpp
index 641332ac..a3e04599 100644
--- a/kspy/navviewitem.cpp
+++ b/kspy/navviewitem.cpp
@@ -21,14 +21,14 @@
#include "navviewitem.h"
NavViewItem::NavViewItem(NavView *parent, TQObject *obj )
- : KListViewItem(parent, obj->name(), obj->className() )
+ : TDEListViewItem(parent, obj->name(), obj->className() )
{
data = obj;
setExpandable( true );
}
NavViewItem::NavViewItem(NavViewItem *parent, TQObject *obj )
- : KListViewItem(parent, obj->name(), obj->className() )
+ : TDEListViewItem(parent, obj->name(), obj->className() )
{
data = obj;
setExpandable( true );
diff --git a/kspy/navviewitem.h b/kspy/navviewitem.h
index d9b7ba23..b1bd3885 100644
--- a/kspy/navviewitem.h
+++ b/kspy/navviewitem.h
@@ -26,7 +26,7 @@ class NavView;
*@author Richard Moore
*/
-class NavViewItem : public KListViewItem {
+class NavViewItem : public TDEListViewItem {
public:
NavViewItem(NavView *parent, TQObject *item );
NavViewItem(NavViewItem *parent, TQObject *item );
diff --git a/kspy/propsview.cpp b/kspy/propsview.cpp
index 8d099a94..1ac94759 100644
--- a/kspy/propsview.cpp
+++ b/kspy/propsview.cpp
@@ -26,11 +26,11 @@
#include "propsview.h"
-class KSpyItem : KListViewItem
+class KSpyItem : TDEListViewItem
{
public:
KSpyItem( TQListView * parent, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString() )
- : KListViewItem(parent, label1, label2, label3, label4, label5, label6)
+ : TDEListViewItem(parent, label1, label2, label3, label4, label5, label6)
{
}
protected:
@@ -43,12 +43,12 @@ protected:
TQColor(text(1)), TQColor(text(1)) );
TQListViewItem::paintCell(p, color_cg, column, width, alignment);
} else {
- KListViewItem::paintCell(p, cg, column, width, alignment);
+ TDEListViewItem::paintCell(p, cg, column, width, alignment);
}
}
};
-PropsView::PropsView(TQWidget *parent, const char *name ) : KListView(parent,name)
+PropsView::PropsView(TQWidget *parent, const char *name ) : TDEListView(parent,name)
{
addColumn( i18n( "Name" ) );
addColumn( i18n( "Value" ) );
diff --git a/kspy/propsview.h b/kspy/propsview.h
index 3242069c..f98f068b 100644
--- a/kspy/propsview.h
+++ b/kspy/propsview.h
@@ -25,7 +25,7 @@
*@author Richard Moore
*/
-class PropsView : public KListView {
+class PropsView : public TDEListView {
Q_OBJECT
public:
diff --git a/kspy/receiversview.cpp b/kspy/receiversview.cpp
index b9ff68b1..98132b52 100644
--- a/kspy/receiversview.cpp
+++ b/kspy/receiversview.cpp
@@ -31,7 +31,7 @@ public:
TQConnectionList *public_receivers(int signal) const { return receivers(signal); }
};
-ReceiversView::ReceiversView(TQWidget *parent, const char *name ) : KListView(parent,name)
+ReceiversView::ReceiversView(TQWidget *parent, const char *name ) : TDEListView(parent,name)
{
addColumn( i18n( "Object" ) );
addColumn( i18n( "Type" ) );
@@ -56,13 +56,13 @@ void ReceiversView::buildList( TQObject *o )
for (int sig = 0; sig < mo->numSignals(true); sig++) {
TQConnectionList * clist = qobject->public_receivers(sig);
if (clist != 0) {
- KListViewItem *conn = new KListViewItem( this, signalNames.at(sig) );
+ TDEListViewItem *conn = new TDEListViewItem( this, signalNames.at(sig) );
for ( TQConnection * connection = clist->first();
connection != 0;
connection = clist->next() )
{
- new KListViewItem( conn,
+ new TDEListViewItem( conn,
connection->object()->name(),
connection->memberType() == 1 ? "SLOT" : "SIGNAL",
connection->memberName() );
diff --git a/kspy/receiversview.h b/kspy/receiversview.h
index cb60ff90..965ee65a 100644
--- a/kspy/receiversview.h
+++ b/kspy/receiversview.h
@@ -25,7 +25,7 @@
*@author Richard Dale
*/
-class ReceiversView : public KListView {
+class ReceiversView : public TDEListView {
Q_OBJECT
public:
diff --git a/kspy/sigslotview.cpp b/kspy/sigslotview.cpp
index d6fdba24..a381a2fd 100644
--- a/kspy/sigslotview.cpp
+++ b/kspy/sigslotview.cpp
@@ -25,7 +25,7 @@
#include "sigslotview.h"
-SigSlotView::SigSlotView(TQWidget *parent, const char *name ) : KListView(parent,name)
+SigSlotView::SigSlotView(TQWidget *parent, const char *name ) : TDEListView(parent,name)
{
addColumn( i18n( "Signals/Slots" ) );
@@ -42,22 +42,22 @@ void SigSlotView::buildList( TQObject *o )
{
TQMetaObject *mo = o->metaObject();
- KListViewItem *sigs = new KListViewItem( this, "Signals" );
+ TDEListViewItem *sigs = new TDEListViewItem( this, "Signals" );
TQStrList sigList = mo->signalNames( true );
TQStrListIterator sigIt( sigList );
char *si;
while ( (si=sigIt.current()) != 0 ) {
++sigIt;
- new KListViewItem( sigs, si /*, "someSignal()"*/ );
+ new TDEListViewItem( sigs, si /*, "someSignal()"*/ );
}
- KListViewItem *slts = new KListViewItem( this, "Slots" );
+ TDEListViewItem *slts = new TDEListViewItem( this, "Slots" );
TQStrList sltList = mo->slotNames( true );
TQStrListIterator sltIt( sltList );
char *sl;
while ( (sl=sltIt.current()) != 0 ) {
++sltIt;
- new KListViewItem( slts, sl/*, "someSlot()"*/ );
+ new TDEListViewItem( slts, sl/*, "someSlot()"*/ );
}
setOpen( sigs, false );
diff --git a/kspy/sigslotview.h b/kspy/sigslotview.h
index c0f15da7..7a478cc5 100644
--- a/kspy/sigslotview.h
+++ b/kspy/sigslotview.h
@@ -25,7 +25,7 @@
*@author Richard Moore
*/
-class SigSlotView : public KListView {
+class SigSlotView : public TDEListView {
Q_OBJECT
public:
diff --git a/kspy/spy.cpp b/kspy/spy.cpp
index 4c1f73ce..2067add6 100644
--- a/kspy/spy.cpp
+++ b/kspy/spy.cpp
@@ -54,7 +54,7 @@ Spy::Spy( TQWidget *parent, const char *name )
TQVBox *leftPane = new TQVBox( div );
- KListViewSearchLine *searchLine = new KListViewSearchLine( leftPane, "search line" );
+ TDEListViewSearchLine *searchLine = new TDEListViewSearchLine( leftPane, "search line" );
mNavView = new NavView( leftPane, "navigation view" );
searchLine->setListView( mNavView );