From 867b7c23aa5ee22368683f23635ded9506587069 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:00:45 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kiosktool/kioskgui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kiosktool/kioskgui.cpp') diff --git a/kiosktool/kioskgui.cpp b/kiosktool/kioskgui.cpp index ca615fe..ee9afac 100644 --- a/kiosktool/kioskgui.cpp +++ b/kiosktool/kioskgui.cpp @@ -59,7 +59,7 @@ #include "kiosksync.h" KioskGui::KioskGui() - : KMainWindow( 0, "kioskgui" ), m_profileSelectionPage(0), + : TDEMainWindow( 0, "kioskgui" ), m_profileSelectionPage(0), m_componentSelectionPage(0), m_componentPage(0), m_profileAssignPage(0), m_profilePropsPage(0), m_data(0), m_activePage(0), m_profile(0), m_componentData(0) @@ -72,7 +72,7 @@ KioskGui::KioskGui() updateBackground(); - // tell the KMainWindow that this is indeed the main widget + // tell the TDEMainWindow that this is indeed the main widget setCentralWidget(m_view); setWidgetBackground(m_view); @@ -167,8 +167,8 @@ void KioskGui::setupActions() // KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection()); // KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection()); KStdAction::preferences(this, TQT_SLOT(slotConfig()), actionCollection()); - m_uploadAction = new KAction(i18n("Upload &All Profiles"), TQString(), 0, this, TQT_SLOT(uploadAllProfiles()), actionCollection(), "upload_all"); - m_backgroundAction = new KToggleAction(i18n("Background Graphics"), TQString(), 0, this, TQT_SLOT(slotUpdateBackground()), actionCollection(), "show_background"); + m_uploadAction = new TDEAction(i18n("Upload &All Profiles"), TQString(), 0, this, TQT_SLOT(uploadAllProfiles()), actionCollection(), "upload_all"); + m_backgroundAction = new TDEToggleAction(i18n("Background Graphics"), TQString(), 0, this, TQT_SLOT(slotUpdateBackground()), actionCollection(), "show_background"); updateActions(); } -- cgit v1.2.3