X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FFileFinder%2FGUI%2Fgui.h;h=3b584c3cb08a5a1ea6800a770a61cd66634be545;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=c8d36334b5777ad139075b0f1c238b5f20e4cd0b;hpb=388264abc0442ea0e4c6dca6812cb755053c79d5;p=evaf diff --git a/src/apps/FileFinder/GUI/gui.h b/src/apps/FileFinder/GUI/gui.h index c8d3633..3b584c3 100644 --- a/src/apps/FileFinder/GUI/gui.h +++ b/src/apps/FileFinder/GUI/gui.h @@ -3,7 +3,7 @@ * @brief GUI for the FileFinder application * @author Enar Vaikene * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -20,6 +20,8 @@ #ifndef __FILEFINDER_GUI_GUI_H # define __FILEFINDER_GUI_GUI_H +#include "version.h" + #include #include @@ -41,7 +43,7 @@ namespace SdiWindow { struct iSdiWindow; } // namespace eVaf::SdiWindow namespace FileFinder { - struct iFileFinder; + class iFileFinder; namespace GUI { namespace Internal { @@ -55,7 +57,7 @@ class MainWidget : public Gui::Panel public: - MainWidget(QWidget * parent = 0) + MainWidget(QWidget * parent = nullptr) : Gui::Panel(parent) {} @@ -82,6 +84,7 @@ class Module : public Plugins::iPlugin { Q_OBJECT Q_INTERFACES(eVaf::Plugins::iPlugin) + Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR) public: @@ -112,6 +115,10 @@ private slots: void openDirectory(); + void copyName(); + + void copyAllNames(); + private: // Members @@ -127,6 +134,8 @@ private: // Members /// Actions QAction * mOpenFileAction; QAction * mOpenDirectoryAction; + QAction * mCopyNameAction; + QAction * mCopyAllNamesAction; /// Widgets on the screen Internal::MainWidget * wMain;