Commit bba1a3b1 authored by Stephan Kulow's avatar Stephan Kulow
Browse files

deprecated--

svn path=/trunk/KDE/kdebase/konqueror/; revision=537787
parent bc77e5a2
......@@ -3882,9 +3882,8 @@ void KonqMainWindow::initActions()
m_combo->setWhatsThis( i18n( "Location Bar<p>"
"Enter a web address or search term." ) );
KAction *clearLocation = new KAction( i18n( "Clear Location Bar" ),
QApplication::isRightToLeft() ? "clear_left" : "locationbar_erase",
Qt::CTRL+Qt::Key_L, 0, 0, actionCollection(), "clear_location" );
KAction *clearLocation = new KAction(KIcon(QApplication::isRightToLeft() ? "clear_left" : "locationbar_erase"), i18n( "Clear Location Bar" ), actionCollection(), "clear_location" );
clearLocation->setShortcut(Qt::CTRL+Qt::Key_L);
connect( clearLocation, SIGNAL( triggered( Qt::MouseButtons, Qt::KeyboardModifiers ) ),
SLOT( slotClearLocationBar( Qt::MouseButtons, Qt::KeyboardModifiers ) ) );
clearLocation->setWhatsThis( i18n( "Clear Location bar<p>"
......
......@@ -42,10 +42,8 @@ KHTMLPluginKTTSD::KHTMLPluginKTTSD( QObject* parent, const char* name, const QSt
KTrader::OfferList offers = KTrader::self()->query("DCOP/Text-to-Speech", "Name == 'KTTSD'");
if (offers.count() > 0)
{
(void) new KAction( i18n("&Speak Text"),
"kttsd", 0,
this, SLOT(slotReadOut()),
actionCollection(), "tools_kttsd" );
KAction *action = new KAction(KIcon("kttsd"), i18n("&Speak Text"), actionCollection(), "tools_kttsd" );
connect(action, SIGNAL(triggered(bool) ), SLOT(slotReadOut()));
}
else
kDebug() << "KHTMLPLuginKTTSD::KHTMLPluginKTTSD: KTrader did not find KTTSD." << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment