From: Konrad Rosenbaum Date: Sun, 18 Aug 2013 19:37:21 +0000 (+0200) Subject: odf: add config to main win X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=39c2336796a314fdf6e6d99797687b79ebea5570;p=web%2Fkonrad%2Fsmoke.git odf: add config to main win --- diff --git a/src/mwin/overview.cpp b/src/mwin/overview.cpp index b455c5a..4befc1d 100644 --- a/src/mwin/overview.cpp +++ b/src/mwin/overview.cpp @@ -21,6 +21,7 @@ #include "payedit.h" #include "orderauditdlg.h" #include "odfedit.h" +#include "office.h" #include "aclwin.h" #include "carttab.h" @@ -142,7 +143,8 @@ MOverview::MOverview(QString pk) m2->addAction(tr("&Server Access settings..."),this,SLOT(webSettings())); m2->addAction(tr("&Display settings..."),this,SLOT(displaySettings())); m2->addAction(tr("&Label Printing settings..."),this,SLOT(labelSettings())); - + m2->addAction(tr("&OpenOffice settings..."),this,SLOT(openOfficeSettings())); + //make sure webrequest knows its settings webSettings(false); @@ -599,6 +601,12 @@ void MOverview::labelSettings() MLabelConfig::configDialog(); } +void MOverview::openOfficeSettings() +{ + MOfficeConfig c(this); + c.exec(); +} + void MOverview::aclWindow() { MAclWindow::showWindow(this); diff --git a/src/mwin/overview.h b/src/mwin/overview.h index 1eb313e..619e605 100644 --- a/src/mwin/overview.h +++ b/src/mwin/overview.h @@ -75,6 +75,8 @@ class MOverview:public MTabWin void backupSettings(); ///label printing settings void labelSettings(); + ///OpenOffice settings + void openOfficeSettings(); ///\internal run init scripts void runStartupScript();