[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/digikam
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2011-01-18 10:18:34
Message-ID: 20110118101834.1683AAC8B6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1215329 by cgilles:

Qt3 transition classes are not used anymore in this class. Removed


 M  +0 -19     contextmenuhelper.cpp  
 M  +0 -13     contextmenuhelper.h  


--- trunk/extragear/graphics/digikam/digikam/contextmenuhelper.cpp #1215328:1215329
@@ -541,25 +541,6 @@
     QTimer::singleShot(75, selectNoneAction, SIGNAL(triggered()));
 }
 
-void ContextMenuHelper::addSelectTagsMenu(Q3ListViewItem* item)
-{
-    KMenu* selectTagsMenu         = new KMenu(i18nc("select tags menu", "Select"), d->parent);
-    QAction* selectChildrenAction = 0;
-    QAction* selectParentsAction  = 0;
-    QAction* selectAllTagsAction  = 0;
-    selectAllTagsAction           = selectTagsMenu->addAction(i18n("All Tags"));
-
-    if (item)
-    {
-        selectTagsMenu->addSeparator();
-        selectChildrenAction = selectTagsMenu->addAction(i18n("Children"));
-        selectParentsAction  = selectTagsMenu->addAction(i18n("Parents"));
-        // TODO: handle selectAllTagsAction
-    }
-
-    d->parent->addMenu(selectTagsMenu);
-}
-
 void ContextMenuHelper::addImportMenu()
 {
     KMenu* menuImport = new KMenu(i18n("Import"), d->parent);
--- trunk/extragear/graphics/digikam/digikam/contextmenuhelper.h #1215328:1215329
@@ -36,7 +36,6 @@
 
 #include "albuminfo.h"
 
-class Q3ListViewItem;
 class QAction;
 class QMenu;
 class QPoint;
@@ -277,18 +276,6 @@
     void addCreateTagFromAddressbookMenu();
 
     /**
-     * Add a menu to select tags in a tag item based view.
-     *
-     * This method will add a menu that allows selecting tags by the following criteria:
-     * - All - select all tags
-     * - Children - select the highlighted item and its children
-     * - Parents - select the highlighted item and its parents
-     *
-     * @param item the highlighted item
-     */
-    void addSelectTagsMenu(Q3ListViewItem* item);
-
-    /**
      * Add "Rating" menu.
      *
      * This menu will provide methods to assign ratings to the currently selected items.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic