From 865f314dd5ed55508f45a32973b709b79a541e36 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 11 Dec 2009 03:46:01 +0000 Subject: kdelibs update to Trinity v3.5.11 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1061230 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/management/kmmainview.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'kdeprint/management/kmmainview.cpp') diff --git a/kdeprint/management/kmmainview.cpp b/kdeprint/management/kmmainview.cpp index c506725af..a1ecd6bbc 100644 --- a/kdeprint/management/kmmainview.cpp +++ b/kdeprint/management/kmmainview.cpp @@ -209,6 +209,7 @@ void KMMainView::initActions() new KAction(i18n("R&estart Server"),"kdeprint_restartsrv",0,this,SLOT(slotServerRestart()),m_actions,"server_restart"); new KAction(i18n("Configure &Server..."),"kdeprint_configsrv",0,this,SLOT(slotServerConfigure()),m_actions,"server_configure"); + new KAction(i18n("Configure Server Access..."),"kdeprint_configsrv",0,this,SLOT(slotServerAccessConfigure()),m_actions,"server_access_configure"); KToggleAction *tact = new KToggleAction(i18n("Show &Toolbar"),0,m_actions,"view_toolbar"); tact->setCheckedState(i18n("Hide &Toolbar")); @@ -691,6 +692,13 @@ void KMMainView::slotServerConfigure() } } +void KMMainView::slotServerConfigureAccess() +{ + KProcess *proc = new KProcess; + *proc << "/usr/bin/system-config-printer-kde"; + proc->start(KProcess::DontCare); +} + void KMMainView::slotToggleToolBar(bool on) { if (on) m_toolbar->show(); -- cgit v1.2.1