summaryrefslogtreecommitdiffstats
path: root/kpf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kpf
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpf')
-rw-r--r--kpf/src/ActiveMonitorWindow.cpp4
-rw-r--r--kpf/src/ActiveMonitorWindow.h6
-rw-r--r--kpf/src/AppletItem.cpp2
-rw-r--r--kpf/src/AppletItem.h4
-rw-r--r--kpf/src/DirSelectWidget.cpp2
-rw-r--r--kpf/src/DirSelectWidget.h2
6 files changed, 10 insertions, 10 deletions
diff --git a/kpf/src/ActiveMonitorWindow.cpp b/kpf/src/ActiveMonitorWindow.cpp
index 0e0450b4..22545816 100644
--- a/kpf/src/ActiveMonitorWindow.cpp
+++ b/kpf/src/ActiveMonitorWindow.cpp
@@ -37,7 +37,7 @@ namespace KPF
TQWidget * parent,
const char * name
)
- : KMainWindow(parent, name)
+ : TDEMainWindow(parent, name)
{
setCaption(i18n("Monitoring %1 - kpf").arg(server->root()));
@@ -46,7 +46,7 @@ namespace KPF
setCentralWidget(monitor_);
killAction_ =
- new KAction
+ new TDEAction
(
i18n("&Cancel Selected Transfers"),
"stop",
diff --git a/kpf/src/ActiveMonitorWindow.h b/kpf/src/ActiveMonitorWindow.h
index a10cb06b..63c502b9 100644
--- a/kpf/src/ActiveMonitorWindow.h
+++ b/kpf/src/ActiveMonitorWindow.h
@@ -26,7 +26,7 @@
#include <kmainwindow.h>
-class KAction;
+class TDEAction;
namespace KPF
{
@@ -39,7 +39,7 @@ namespace KPF
* A wrapper window is used to avoid forcing ActiveMonitor to be
* toplevel, so it can be used elsewhere if desired.
*/
- class ActiveMonitorWindow : public KMainWindow
+ class ActiveMonitorWindow : public TDEMainWindow
{
Q_OBJECT
@@ -96,7 +96,7 @@ namespace KPF
ActiveMonitor * monitor_;
- KAction * killAction_;
+ TDEAction * killAction_;
};
} // End namespace KPF
diff --git a/kpf/src/AppletItem.cpp b/kpf/src/AppletItem.cpp
index 489b2036..6741eb19 100644
--- a/kpf/src/AppletItem.cpp
+++ b/kpf/src/AppletItem.cpp
@@ -64,7 +64,7 @@ namespace KPF
TQString popupTitle(i18n("kpf - %1").arg(server_->root()));
- popup_ = new KPopupMenu(this);
+ popup_ = new TDEPopupMenu(this);
popup_->insertTitle
(SmallIcon("kpf"), popupTitle, Title, Title);
diff --git a/kpf/src/AppletItem.h b/kpf/src/AppletItem.h
index e505304c..d516597f 100644
--- a/kpf/src/AppletItem.h
+++ b/kpf/src/AppletItem.h
@@ -27,7 +27,7 @@
#include <tqptrlist.h>
#include <tqwidget.h>
-class KPopupMenu;
+class TDEPopupMenu;
namespace KPF
{
@@ -159,7 +159,7 @@ namespace KPF
SingleServerConfigDialog * configDialog_;
ActiveMonitorWindow * monitorWindow_;
BandwidthGraph * graph_;
- KPopupMenu * popup_;
+ TDEPopupMenu * popup_;
};
}
diff --git a/kpf/src/DirSelectWidget.cpp b/kpf/src/DirSelectWidget.cpp
index cda49a4a..f492e1e4 100644
--- a/kpf/src/DirSelectWidget.cpp
+++ b/kpf/src/DirSelectWidget.cpp
@@ -42,7 +42,7 @@ namespace KPF
TQWidget * parent,
const char * name
)
- : KListView(parent, name)
+ : TDEListView(parent, name)
{
d = new Private;
d->pathToMakeVisible = pathToMakeVisible;
diff --git a/kpf/src/DirSelectWidget.h b/kpf/src/DirSelectWidget.h
index dc4f7e25..e542b5a2 100644
--- a/kpf/src/DirSelectWidget.h
+++ b/kpf/src/DirSelectWidget.h
@@ -31,7 +31,7 @@ namespace KPF
/**
* Allows the user to choose a directory, with some restrictions.
*/
- class DirSelectWidget : public KListView
+ class DirSelectWidget : public TDEListView
{
Q_OBJECT