summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:05:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:05:23 -0600
commit5cbf65877cdbcb7ae1c6af5c1846db2b3b14090c (patch)
tree37825ef58bf1b45ae937e461f2629e6e60fabde5
parent60f741f7eb5dce97f7832dcc0a235d8f0251cb84 (diff)
downloadpotracegui-5cbf65877cdbcb7ae1c6af5c1846db2b3b14090c.tar.gz
potracegui-5cbf65877cdbcb7ae1c6af5c1846db2b3b14090c.zip
Rename a number of classes to enhance compatibility with KDE4
-rw-r--r--src/potracegui.cpp2
-rw-r--r--src/potracegui.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/potracegui.cpp b/src/potracegui.cpp
index 54565a6..1068460 100644
--- a/src/potracegui.cpp
+++ b/src/potracegui.cpp
@@ -40,7 +40,7 @@
#include <kmessagebox.h>
potracegui::potracegui()
- : KMainWindow( 0, "potracegui" ), m_centralWidget(new MainWidget(this))
+ : TDEMainWindow( 0, "potracegui" ), m_centralWidget(new MainWidget(this))
{
// set the shell's ui resource file
setXMLFile("potraceguiui.rc");
diff --git a/src/potracegui.h b/src/potracegui.h
index 423fba1..ea1b924 100644
--- a/src/potracegui.h
+++ b/src/potracegui.h
@@ -30,7 +30,7 @@
#include <tqlabel.h>
-class KToggleAction;
+class TDEToggleAction;
class MainWidget;
/**
@@ -40,7 +40,7 @@ class MainWidget;
*
* This is potracegui main window. It controls the menu, the toolbar and the statusbar. Its main widget (MainWidget object) copes with the actual options gaining and image tracing.
*/
-class potracegui : public KMainWindow
+class potracegui : public TDEMainWindow
{
Q_OBJECT
@@ -61,8 +61,8 @@ public:
private:
MainWidget *m_centralWidget; /**< Main widget: everithing not related to menu, toolbar or statusbar */
- KToggleAction *m_toolbarAction; /**< Action for showing/hiding the toolbar */
- KToggleAction *m_statusbarAction; /**< Action for showing/hiding the statusbar */
+ TDEToggleAction *m_toolbarAction; /**< Action for showing/hiding the toolbar */
+ TDEToggleAction *m_statusbarAction; /**< Action for showing/hiding the statusbar */
//! Connects all the signals and calls createGUI()
void createInterface();