OSDN Git Service

リネーム処理のスレッド化、削除処理の実装。
[gefu/Gefu.git] / mainwindow.h
1 #ifndef MAINWINDOW_H\r
2 #define MAINWINDOW_H\r
3 \r
4 #include <QMainWindow>\r
5 class FolderPanel;\r
6 \r
7 namespace Ui {\r
8 class MainWindow;\r
9 }\r
10 \r
11 class MainWindow : public QMainWindow\r
12 {\r
13     Q_OBJECT\r
14 \r
15 public:\r
16     explicit MainWindow(QWidget *parent = 0);\r
17     ~MainWindow();\r
18 \r
19     void setStatusText(const QString &str);\r
20 \r
21 public slots:\r
22     void onActionCommand();\r
23     void onActionExec();\r
24     void onActionOpen();\r
25     void onActionQuit();\r
26     void onActionSetting();\r
27 \r
28     void onMarkAll();\r
29     void onMarkAllFiles();\r
30     void onMarkAllOff();\r
31     void onMarkInvert();\r
32     void onMarkToggle();\r
33 \r
34     void onMoveCursorDown();\r
35     void onMoveCursorUp();\r
36     void onMoveCursorBegin();\r
37     void onMoveCursorEnd();\r
38     void onMoveBack();\r
39     void onMoveForward();\r
40     void onMoveHome();\r
41     void onMoveJump();\r
42     void onMoveOther();\r
43     void onMoveParent();\r
44     void onMoveRoot();\r
45 \r
46     void onViewFromOther();\r
47     void onViewToOther();\r
48     void onViewHidden();\r
49     void onViewSwap();\r
50 \r
51     void onCmdDelete();\r
52     void onCmdNewFile();\r
53     void onCmdNewFolder();\r
54     void onCmdRename();\r
55 \r
56     void onHelpAbout();\r
57 \r
58 private slots:\r
59 \r
60 private:\r
61     Ui::MainWindow *ui;\r
62 \r
63     FolderPanel* activePanel();\r
64     FolderPanel* inactivePanel();\r
65 };\r
66 \r
67 #endif // MAINWINDOW_H\r