aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h')
-rw-r--r--lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h
index 84935a11..5084dadf 100644
--- a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h
+++ b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h
@@ -29,7 +29,7 @@ public:
}
private:
QPlainTextEdit *edit;
- QToolButton *open, *add, *rem;
+ QToolButton *config; //*open, *add, *rem;
QComboBox *cnote;
QFrame *frame;
QFileSystemWatcher *watcher;
@@ -37,12 +37,15 @@ private:
QTimer *typeTimer;
void openNote();
- void newNote();
+ QString newNoteName(QString oldname = "", bool tryagain = false);
private slots:
+ void updateConfigMenu();
+
void openNoteClicked();
void newNoteClicked();
void remNote();
+ void renameNote();
void newTextAvailable();
void updateContents();
bgstack15