From 9c9412b30c54468adc9e506cc76c5d113fbf5056 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:03 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kpf/src/ActiveMonitorWindow.cpp | 4 ++-- kpf/src/ActiveMonitorWindow.h | 6 +++--- kpf/src/AppletItem.cpp | 2 +- kpf/src/AppletItem.h | 4 ++-- kpf/src/DirSelectWidget.cpp | 2 +- kpf/src/DirSelectWidget.h | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kpf/src') 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 -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 #include -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 -- cgit v1.2.1