Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 60f741f7eb
commit 5cbf65877c

@ -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");

@ -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();

Loading…
Cancel
Save