X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Fapps%2FFileFinder%2FGUI%2Fgui.h;h=283b1676f3384e197b0d4ae7b2f67c6a3ad6055e;hb=36bd93cf4263b118366b3db2d26e8efb1ac1b690;hp=e4c0c8e885c2a7cda45c9058ce69f47ab66a7309;hpb=7eca3433b1db8f2bcc61fa8db60bc7546f5cb578;p=evaf
diff --git a/src/apps/FileFinder/GUI/gui.h b/src/apps/FileFinder/GUI/gui.h
index e4c0c8e..283b167 100644
--- a/src/apps/FileFinder/GUI/gui.h
+++ b/src/apps/FileFinder/GUI/gui.h
@@ -20,7 +20,10 @@
#ifndef __FILEFINDER_GUI_GUI_H
# define __FILEFINDER_GUI_GUI_H
+#include "version.h"
+
#include
+#include
#include
#include
@@ -40,7 +43,7 @@ namespace SdiWindow {
struct iSdiWindow;
} // namespace eVaf::SdiWindow
namespace FileFinder {
- struct iFileFinder;
+ class iFileFinder;
namespace GUI {
namespace Internal {
@@ -48,14 +51,14 @@ namespace Internal {
/**
* Main widget for the FileFinder window
*/
-class MainWidget : public QWidget
+class MainWidget : public Gui::Panel
{
Q_OBJECT
public:
MainWidget(QWidget * parent = 0)
- : QWidget(parent)
+ : Gui::Panel(parent)
{}
virtual void keyPressEvent(QKeyEvent * e);
@@ -81,6 +84,7 @@ class Module : public Plugins::iPlugin
{
Q_OBJECT
Q_INTERFACES(eVaf::Plugins::iPlugin)
+ Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
public:
@@ -111,6 +115,10 @@ private slots:
void openDirectory();
+ void copyName();
+
+ void copyAllNames();
+
private: // Members
@@ -126,6 +134,8 @@ private: // Members
/// Actions
QAction * mOpenFileAction;
QAction * mOpenDirectoryAction;
+ QAction * mCopyNameAction;
+ QAction * mCopyAllNamesAction;
/// Widgets on the screen
Internal::MainWidget * wMain;