show recent files; supposed works, but glitch exists
probably due to Qt bug.
open web;
Change-Id: Ib9df50de82d7af659a09978e9d0aa0a5c540a041
diff --git a/gui/chronosharegui.h b/gui/chronosharegui.h
index c094f3e..6497d5f 100644
--- a/gui/chronosharegui.h
+++ b/gui/chronosharegui.h
@@ -63,6 +63,12 @@
// open the shared folder
void openSharedFolder();
+ void openFile();
+
+ void openInWebBrowser();
+
+ void updateRecentFilesMenu();
+
// open file dialog
void openFileDialog();
@@ -82,8 +88,9 @@
#endif
private:
+ void checkFileAction(const std::string &, int, int);
// create actions that result from clicking a menu option
- void createActions();
+ void createActionsAndMenu();
// create tray icon
void createTrayIcon();
@@ -119,6 +126,9 @@
QAction* m_changeFolder; // change the shared folder action
QAction* m_quitProgram; // quit program action
QAction *m_checkForUpdates;
+ QAction *m_openWeb;
+ QMenu *m_recentFilesMenu;
+ QAction *m_fileActions[5];
QAction *m_wifiAction;