|
|
|
|
@ -147,15 +147,7 @@ void %{APPNAME}::optionsConfigureKeys()
|
|
|
|
|
|
|
|
|
|
void %{APPNAME}::optionsConfigureToolbars()
|
|
|
|
|
{
|
|
|
|
|
#if defined(TDE_MAKE_VERSION)
|
|
|
|
|
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
|
|
|
|
|
saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
|
|
|
|
|
# else
|
|
|
|
|
saveMainWindowSettings(TDEGlobal::config() );
|
|
|
|
|
# endif
|
|
|
|
|
#else
|
|
|
|
|
saveMainWindowSettings(TDEGlobal::config() );
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// use the standard toolbar editor
|
|
|
|
|
KEditToolbar dlg(factory());
|
|
|
|
|
@ -166,15 +158,7 @@ void %{APPNAME}::optionsConfigureToolbars()
|
|
|
|
|
|
|
|
|
|
void %{APPNAME}::applyNewToolbarConfig()
|
|
|
|
|
{
|
|
|
|
|
#if defined(TDE_MAKE_VERSION)
|
|
|
|
|
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
|
|
|
|
|
applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
|
|
|
|
|
# else
|
|
|
|
|
applyMainWindowSettings(TDEGlobal::config());
|
|
|
|
|
# endif
|
|
|
|
|
#else
|
|
|
|
|
applyMainWindowSettings(TDEGlobal::config());
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void %{APPNAME}::fileOpen()
|
|
|
|
|
|