diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-02 03:27:25 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-02 03:27:25 +0000 |
commit | 688f124158e600b5feb4d627cfddf1f600a62cdd (patch) | |
tree | cde0d99d6d8b29eec6f10f533366ea09046a2712 /textedit.h | |
parent | added editorpage files (diff) | |
download | gpg4usb-688f124158e600b5feb4d627cfddf1f600a62cdd.tar.gz gpg4usb-688f124158e600b5feb4d627cfddf1f600a62cdd.zip |
added new tab action and made some minor bugfixes
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@420 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.h')
-rw-r--r-- | textedit.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -52,6 +52,7 @@ public slots: bool saveAs(); void open(); void print(); + void newTab(); private: bool isKey(QString key); @@ -59,7 +60,7 @@ private: QString curFile; int countPage; QTabWidget *tabWidget; - bool maybeSaveFile(); + bool maybeSaveFile(); EditorPage *curPage(); void setCursorPosition(); @@ -75,10 +76,7 @@ private slots: protected: void dragEnterEvent(QDragEnterEvent *event); void dropEvent(QDropEvent* event); - void newFile(); bool saveFile(const QString &fileName); bool closeFile(); - - }; #endif // TEXTEDIT |