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