summaryrefslogtreecommitdiffstats
path: root/kdcop
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /kdcop
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdcop')
-rw-r--r--kdcop/kdcoplistview.cpp2
-rw-r--r--kdcop/kdcoplistview.h2
-rw-r--r--kdcop/kdcopview.ui4
-rw-r--r--kdcop/kdcopwindow.cpp8
-rw-r--r--kdcop/kdcopwindow.h10
5 files changed, 13 insertions, 13 deletions
diff --git a/kdcop/kdcoplistview.cpp b/kdcop/kdcoplistview.cpp
index cc727072b..eae4b0bfe 100644
--- a/kdcop/kdcoplistview.cpp
+++ b/kdcop/kdcoplistview.cpp
@@ -13,7 +13,7 @@
KDCOPListView::KDCOPListView ( TQWidget *parent, const char *name)
- : KListView(parent, name)
+ : TDEListView(parent, name)
{
kdDebug() << "Building new list." << endl;
setDragEnabled(true);
diff --git a/kdcop/kdcoplistview.h b/kdcop/kdcoplistview.h
index 9cb549f7f..1851d9569 100644
--- a/kdcop/kdcoplistview.h
+++ b/kdcop/kdcoplistview.h
@@ -11,7 +11,7 @@
#include <klistview.h>
class TQDragObject;
-class KDCOPListView : public KListView
+class KDCOPListView : public TDEListView
{
Q_OBJECT
diff --git a/kdcop/kdcopview.ui b/kdcop/kdcopview.ui
index cfef4f95c..60092917a 100644
--- a/kdcop/kdcopview.ui
+++ b/kdcop/kdcopview.ui
@@ -20,7 +20,7 @@
<property name="margin">
<number>0</number>
</property>
- <widget class="KListViewSearchLine" row="0" column="1">
+ <widget class="TDEListViewSearchLine" row="0" column="1">
<property name="name">
<cstring>kListViewSearchLine1</cstring>
</property>
@@ -81,7 +81,7 @@
<number>0</number>
</property>
</widget>
- <widget class="KListBox" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TDEListBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>lb_replyData</cstring>
</property>
diff --git a/kdcop/kdcopwindow.cpp b/kdcop/kdcopwindow.cpp
index 6eeb43009..d9e6baaa9 100644
--- a/kdcop/kdcopwindow.cpp
+++ b/kdcop/kdcopwindow.cpp
@@ -280,7 +280,7 @@ DCOPBrowserFunctionItem::setOpen(bool o)
// ------------------------------------------------------------------------
KDCOPWindow::KDCOPWindow(TQWidget *parent, const char * name)
- : KMainWindow(parent, name)
+ : TDEMainWindow(parent, name)
{
dcopClient = kapp->dcopClient();
dcopClient->attach();
@@ -317,10 +317,10 @@ KDCOPWindow::KDCOPWindow(TQWidget *parent, const char * name)
KStdAction::keyBindings( guiFactory(), TQT_SLOT( configureShortcuts() ), actionCollection() );
- (void) new KAction( i18n( "&Reload" ), "reload", KStdAccel::shortcut(KStdAccel::Reload), TQT_TQOBJECT(this), TQT_SLOT( slotReload() ), actionCollection(), "reload" );
+ (void) new TDEAction( i18n( "&Reload" ), "reload", TDEStdAccel::shortcut(TDEStdAccel::Reload), TQT_TQOBJECT(this), TQT_SLOT( slotReload() ), actionCollection(), "reload" );
exeaction =
- new KAction
+ new TDEAction
(
i18n("&Execute"),
"exec",
@@ -334,7 +334,7 @@ KDCOPWindow::KDCOPWindow(TQWidget *parent, const char * name)
exeaction->setEnabled(false);
exeaction->setToolTip(i18n("Execute the selected DCOP call."));
- langmode = new KSelectAction ( i18n("Language Mode"),
+ langmode = new TDESelectAction ( i18n("Language Mode"),
CTRL + Key_M,
TQT_TQOBJECT(this),
TQT_SLOT(slotMode()),
diff --git a/kdcop/kdcopwindow.h b/kdcop/kdcopwindow.h
index 39612cac9..ce8d94a4a 100644
--- a/kdcop/kdcopwindow.h
+++ b/kdcop/kdcopwindow.h
@@ -9,8 +9,8 @@
class DCOPClient;
class TQListViewItem;
-class KAction;
-class KSelectAction;
+class TDEAction;
+class TDESelectAction;
class TQWidgetStack;
class TQLabel;
class KDCOPListView;
@@ -19,7 +19,7 @@ class KDCOPListView;
#include "kdcoplistview.h"
#include "kdcopview.h"
-class KDCOPWindow : public KMainWindow
+class KDCOPWindow : public TDEMainWindow
{
Q_OBJECT
@@ -53,8 +53,8 @@ class KDCOPWindow : public KMainWindow
bool demarshal(TQCString & replyType, TQDataStream & reply, TQListBox *theList);
DCOPClient * dcopClient;
- KAction * exeaction;
- KSelectAction * langmode;
+ TDEAction * exeaction;
+ TDESelectAction * langmode;
kdcopview * mainView;
TQVBoxLayout * mainLayout;
};