Copy-edit some methods of the batch queue to test usage of C++11's auto variables and lambda functions.
This commit is contained in:
@@ -57,7 +57,7 @@ protected:
|
||||
Gtk::ImageMenuItem* tail;
|
||||
Gtk::MenuItem* selall;
|
||||
Gtk::MenuItem* open;
|
||||
Gtk::Menu* pmenu;
|
||||
std::unique_ptr<Gtk::Menu> pmenu;
|
||||
|
||||
Glib::RefPtr<Gtk::AccelGroup> pmaccelgroup;
|
||||
|
||||
@@ -72,10 +72,10 @@ public:
|
||||
BatchQueue (FileCatalog* aFileCatalog);
|
||||
~BatchQueue ();
|
||||
|
||||
void addEntries (std::vector<BatchQueueEntry*> &entries, bool head = false, bool save = true);
|
||||
void cancelItems (std::vector<ThumbBrowserEntryBase*>* items);
|
||||
void headItems (std::vector<ThumbBrowserEntryBase*>* items);
|
||||
void tailItems (std::vector<ThumbBrowserEntryBase*>* items);
|
||||
void addEntries (const std::vector<BatchQueueEntry*>& entries, bool head = false, bool save = true);
|
||||
void cancelItems (const std::vector<ThumbBrowserEntryBase*>& items);
|
||||
void headItems (const std::vector<ThumbBrowserEntryBase *>& items);
|
||||
void tailItems (const std::vector<ThumbBrowserEntryBase *>& items);
|
||||
void selectAll ();
|
||||
void openItemInEditor(ThumbBrowserEntryBase* item);
|
||||
void openLastSelectedItemInEditor();
|
||||
|
Reference in New Issue
Block a user