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

deprecated--

svn path=/trunk/KDE/kdebase/konqueror/; revision=537462
parent 4bad0e03
...@@ -303,13 +303,16 @@ KonqKfmIconView::KonqKfmIconView( QWidget *parentWidget, QObject *parent, const ...@@ -303,13 +303,16 @@ KonqKfmIconView::KonqKfmIconView( QWidget *parentWidget, QObject *parent, const
m_pamSort->insert( aSortDescending ); m_pamSort->insert( aSortDescending );
*/ */
m_paSelect = new KAction( i18n( "Se&lect..." ), Qt::CTRL+Qt::Key_Plus, this, SLOT( slotSelect() ), m_paSelect = new KAction( i18n( "Se&lect..." ), actionCollection(), "select" );
actionCollection(), "select" ); connect(m_paSelect, SIGNAL(triggered(bool) ), SLOT( slotSelect() ));
m_paUnselect = new KAction( i18n( "Unselect..." ), Qt::CTRL+Qt::Key_Minus, this, SLOT( slotUnselect() ), m_paSelect->setShortcut(Qt::CTRL+Qt::Key_Plus);
actionCollection(), "unselect" ); m_paUnselect = new KAction( i18n( "Unselect..." ), actionCollection(), "unselect" );
connect(m_paUnselect, SIGNAL(triggered(bool) ), SLOT( slotUnselect() ));
m_paUnselect->setShortcut(Qt::CTRL+Qt::Key_Minus);
m_paSelectAll = KStdAction::selectAll( this, SLOT( slotSelectAll() ), actionCollection(), "selectall" ); m_paSelectAll = KStdAction::selectAll( this, SLOT( slotSelectAll() ), actionCollection(), "selectall" );
m_paUnselectAll = new KAction( i18n( "Unselect All" ), Qt::CTRL+Qt::Key_U, this, SLOT( slotUnselectAll() ), m_paUnselectAll = new KAction( i18n( "Unselect All" ), actionCollection(), "unselectall" );
actionCollection(), "unselectall" ); connect(m_paUnselectAll, SIGNAL(triggered(bool) ), SLOT( slotUnselectAll() ));
m_paUnselectAll->setShortcut(Qt::CTRL+Qt::Key_U);
m_paInvertSelection = new KAction( i18n( "&Invert Selection" ), Qt::CTRL+Qt::Key_Asterisk, m_paInvertSelection = new KAction( i18n( "&Invert Selection" ), Qt::CTRL+Qt::Key_Asterisk,
this, SLOT( slotInvertSelection() ), this, SLOT( slotInvertSelection() ),
actionCollection(), "invertselection" ); actionCollection(), "invertselection" );
......
...@@ -674,11 +674,19 @@ void KonqListView::setupActions() ...@@ -674,11 +674,19 @@ void KonqListView::setupActions()
m_paShowPermissions->setCheckedState(i18n("Hide Permissions")); m_paShowPermissions->setCheckedState(i18n("Hide Permissions"));
m_paShowURL=new KToggleAction(i18n("Show URL"), 0, this, SLOT(slotColumnToggled()),actionCollection(), "show_url" ); m_paShowURL=new KToggleAction(i18n("Show URL"), 0, this, SLOT(slotColumnToggled()),actionCollection(), "show_url" );
m_paSelect = new KAction( i18n( "Se&lect..." ), Qt::CTRL+Qt::Key_Plus, this, SLOT( slotSelect() ), actionCollection(), "select" ); m_paSelect = new KAction( i18n( "Se&lect..." ), actionCollection(), "select" );
m_paUnselect = new KAction( i18n( "Unselect..." ), Qt::CTRL+Qt::Key_Minus, this, SLOT( slotUnselect() ), actionCollection(), "unselect" ); connect(m_paSelect, SIGNAL(triggered(bool) ), SLOT( slotSelect() ));
m_paSelect->setShortcut(Qt::CTRL+Qt::Key_Plus);
m_paUnselect = new KAction( i18n( "Unselect..." ), actionCollection(), "unselect" );
connect(m_paUnselect, SIGNAL(triggered(bool) ), SLOT( slotUnselect() ));
m_paUnselect->setShortcut(Qt::CTRL+Qt::Key_Minus);
m_paSelectAll = KStdAction::selectAll( this, SLOT( slotSelectAll() ), actionCollection(), "selectall" ); m_paSelectAll = KStdAction::selectAll( this, SLOT( slotSelectAll() ), actionCollection(), "selectall" );
m_paUnselectAll = new KAction( i18n( "Unselect All" ), Qt::CTRL+Qt::Key_U, this, SLOT( slotUnselectAll() ), actionCollection(), "unselectall" ); m_paUnselectAll = new KAction( i18n( "Unselect All" ), actionCollection(), "unselectall" );
m_paInvertSelection = new KAction( i18n( "&Invert Selection" ), Qt::CTRL+Qt::Key_Asterisk, this, SLOT( slotInvertSelection() ), actionCollection(), "invertselection" ); connect(m_paUnselectAll, SIGNAL(triggered(bool) ), SLOT( slotUnselectAll() ));
m_paUnselectAll->setShortcut(Qt::CTRL+Qt::Key_U);
m_paInvertSelection = new KAction( i18n( "&Invert Selection" ), actionCollection(), "invertselection" );
connect(m_paInvertSelection, SIGNAL(triggered(bool) ), SLOT( slotInvertSelection() ));
m_paInvertSelection->setShortcut(Qt::CTRL+Qt::Key_Asterisk);
m_paShowDot = new KToggleAction( i18n( "Show &Hidden Files" ), 0, this, SLOT( slotShowDot() ), actionCollection(), "show_dot" ); m_paShowDot = new KToggleAction( i18n( "Show &Hidden Files" ), 0, this, SLOT( slotShowDot() ), actionCollection(), "show_dot" );
// m_paShowDot->setCheckedState(i18n("Hide &Hidden Files")); // m_paShowDot->setCheckedState(i18n("Hide &Hidden Files"));
......
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