summaryrefslogtreecommitdiffstats
path: root/libksirtet/base
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:46 -0600
commit58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch)
tree5a2fde6842fd422cae2d8670d382be965098cc32 /libksirtet/base
parent2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff)
downloadtdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz
tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'libksirtet/base')
-rw-r--r--libksirtet/base/kzoommainwindow.cpp6
-rw-r--r--libksirtet/base/kzoommainwindow.h8
-rw-r--r--libksirtet/base/main.h4
3 files changed, 9 insertions, 9 deletions
diff --git a/libksirtet/base/kzoommainwindow.cpp b/libksirtet/base/kzoommainwindow.cpp
index 95b5b359..3bab5661 100644
--- a/libksirtet/base/kzoommainwindow.cpp
+++ b/libksirtet/base/kzoommainwindow.cpp
@@ -26,7 +26,7 @@
#include <kcmenumngr.h>
KZoomMainWindow::KZoomMainWindow(uint min, uint max, uint step, const char *name)
- : KMainWindow(0, name), _zoomStep(step), _minZoom(min), _maxZoom(max)
+ : TDEMainWindow(0, name), _zoomStep(step), _minZoom(min), _maxZoom(max)
{
installEventFilter(this);
@@ -77,7 +77,7 @@ bool KZoomMainWindow::eventFilter(TQObject *o, TQEvent *e)
setFixedSize(minimumSize()); // because K/TQMainWindow
// does not manage fixed central widget
// with hidden menubar...
- return KMainWindow::eventFilter(o, e);
+ return TDEMainWindow::eventFilter(o, e);
}
void KZoomMainWindow::setZoom(uint zoom)
@@ -111,5 +111,5 @@ void KZoomMainWindow::toggleMenubar()
bool KZoomMainWindow::queryExit()
{
writeMenubarVisibleSetting(_menu->isChecked());
- return KMainWindow::queryExit();
+ return TDEMainWindow::queryExit();
}
diff --git a/libksirtet/base/kzoommainwindow.h b/libksirtet/base/kzoommainwindow.h
index b0d6aba4..3e47cb0d 100644
--- a/libksirtet/base/kzoommainwindow.h
+++ b/libksirtet/base/kzoommainwindow.h
@@ -24,7 +24,7 @@
#include <kdemacros.h>
-class KToggleAction;
+class TDEToggleAction;
/**
* KZoomMainWindow is a main window of fixed size. Its size can be
@@ -41,7 +41,7 @@ class KToggleAction;
* This class also has a "show/hide menubar" action and allows the use
* of a context popup menu (useful to restore the menubar when hidden).
*/
-class KDE_EXPORT KZoomMainWindow : public KMainWindow
+class KDE_EXPORT KZoomMainWindow : public TDEMainWindow
{
Q_OBJECT
@@ -119,8 +119,8 @@ private slots:
private:
uint _zoom, _zoomStep, _minZoom, _maxZoom;
TQPtrList<TQWidget> _widgets;
- KAction *_zoomInAction, *_zoomOutAction;
- KToggleAction *_menu;
+ TDEAction *_zoomInAction, *_zoomOutAction;
+ TDEToggleAction *_menu;
class KZoomMainWindowPrivate;
KZoomMainWindowPrivate *d;
diff --git a/libksirtet/base/main.h b/libksirtet/base/main.h
index 33b5f9d9..2c48439b 100644
--- a/libksirtet/base/main.h
+++ b/libksirtet/base/main.h
@@ -6,7 +6,7 @@
#include <kdemacros.h>
class BaseInterface;
-class KToggleAction;
+class TDEToggleAction;
class KKeyDialog;
class TDEConfigDialog;
@@ -44,7 +44,7 @@ protected:
virtual bool menubarVisibleSetting() const;
private:
- KToggleAction *_pause;
+ TDEToggleAction *_pause;
};
#endif