X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FFileFinder%2FGUI%2Fgui.h;h=4d22d0b0d7636d14722fa6d28a1094a42a6d5d80;hb=51afea61c3cf72248b2998f6874a354b49ed12ca;hp=02f4f22fa9b0986e5360b116678e8f31fdff788e;hpb=25d800db07942aadab4140a4ed05196e7f4dcd12;p=evaf
diff --git a/src/apps/FileFinder/GUI/gui.h b/src/apps/FileFinder/GUI/gui.h
index 02f4f22..4d22d0b 100644
--- a/src/apps/FileFinder/GUI/gui.h
+++ b/src/apps/FileFinder/GUI/gui.h
@@ -21,7 +21,7 @@
# define __FILEFINDER_GUI_GUI_H
#include
-#include
+#include
#include
#include
@@ -41,7 +41,7 @@ namespace SdiWindow {
struct iSdiWindow;
} // namespace eVaf::SdiWindow
namespace FileFinder {
- struct iFileFinder;
+ class iFileFinder;
namespace GUI {
namespace Internal {
@@ -49,14 +49,14 @@ namespace Internal {
/**
* Main widget for the FileFinder window
*/
-class MainWidget : public Gui::Window
+class MainWidget : public Gui::Panel
{
Q_OBJECT
public:
MainWidget(QWidget * parent = 0)
- : Gui::Window(parent)
+ : Gui::Panel(parent)
{}
virtual void keyPressEvent(QKeyEvent * e);
@@ -112,6 +112,10 @@ private slots:
void openDirectory();
+ void copyName();
+
+ void copyAllNames();
+
private: // Members
@@ -127,6 +131,8 @@ private: // Members
/// Actions
QAction * mOpenFileAction;
QAction * mOpenDirectoryAction;
+ QAction * mCopyNameAction;
+ QAction * mCopyAllNamesAction;
/// Widgets on the screen
Internal::MainWidget * wMain;