summaryrefslogtreecommitdiffstats
path: root/tdeprint/management
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-03-22 22:49:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-03-22 22:49:28 +0900
commitef338f1187c7f4520be38c5c6b394f863cccb5d4 (patch)
treebaba1aa76b39b2bcbb591208f2b65e73096fd305 /tdeprint/management
parentee90275a69840647dccfcde9cec96121d38db13d (diff)
downloadtdelibs-ef338f1187c7f4520be38c5c6b394f863cccb5d4.tar.gz
tdelibs-ef338f1187c7f4520be38c5c6b394f863cccb5d4.zip
Removes references to printing.kde.org in tdeprint.
Then remove "Documentation" button from tdeprint config module, since the help handbook is available through the help button already. This relates to bug 1846.
Diffstat (limited to 'tdeprint/management')
-rw-r--r--tdeprint/management/kmmainview.cpp23
-rw-r--r--tdeprint/management/kmmainview.h1
2 files changed, 0 insertions, 24 deletions
diff --git a/tdeprint/management/kmmainview.cpp b/tdeprint/management/kmmainview.cpp
index 4aba92dad..c9274aaa3 100644
--- a/tdeprint/management/kmmainview.cpp
+++ b/tdeprint/management/kmmainview.cpp
@@ -227,9 +227,6 @@ void KMMainView::initActions()
tact->setChecked(KMManager::self()->isFilterEnabled());
connect(tact, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotToggleFilter(bool)));
- new TDEAction( i18n( "%1 &Handbook" ).arg( "TDEPrint" ), "contents", 0, TQT_TQOBJECT(this), TQT_SLOT( slotHelp() ), m_actions, "invoke_help" );
- new TDEAction( i18n( "%1 &Web Site" ).arg( "TDEPrint" ), "network", 0, TQT_TQOBJECT(this), TQT_SLOT( slotHelp() ), m_actions, "invoke_web" );
-
TDEActionMenu *mact = new TDEActionMenu(i18n("Pri&nter Tools"), "package_utilities", m_actions, "printer_tool");
mact->setDelayed(false);
connect(mact->popupMenu(), TQT_SIGNAL(activated(int)), TQT_SLOT(slotToolSelected(int)));
@@ -315,11 +312,6 @@ void KMMainView::initActions()
m_menubar->insertButton( "view_remove", 4, true, i18n( "View" ) );
m_menubar->getButton( 4 )->setPopup( menu, true );
//m_menubar->setMinimumHeight( m_menubar->heightForWidth( 1000 ) );
- menu = new TQPopupMenu( this );
- m_actions->action( "invoke_help" )->plug( menu );
- m_actions->action( "invoke_web" )->plug( menu );
- m_menubar->insertButton( "help", 5, true, i18n( "Documentation" ) );
- m_menubar->getButton( 5 )->setPopup( menu, true );
loadPluginActions();
slotPrinterSelected(TQString::null);
@@ -902,19 +894,4 @@ void KMMainView::reset( const TQString& msg, bool useDelay, bool holdTimer )
m_manager->checkUpdatePossible();
}
-void KMMainView::slotHelp()
-{
- TQString s = TQT_TQOBJECT_CONST(sender())->name();
- if ( s == "invoke_help" )
- kapp->invokeHelp( TQString::null, "tdeprint" );
- else if ( s == "invoke_web" )
- {
- TQStringList args;
- args << "exec" << "http://printing.kde.org";
- kapp->tdeinitExec( "kfmclient", args );
- }
- else
- kdDebug( 500 ) << "Unknown help invokator: " << s << endl;
-}
-
#include "kmmainview.moc"
diff --git a/tdeprint/management/kmmainview.h b/tdeprint/management/kmmainview.h
index 132bba062..b35e7ef0f 100644
--- a/tdeprint/management/kmmainview.h
+++ b/tdeprint/management/kmmainview.h
@@ -84,7 +84,6 @@ public slots:
void slotRefresh();
void slotToolSelected(int);
void slotToggleFilter(bool);
- void slotHelp();
protected slots:
void slotPrinterSelected(const TQString&);