From 688f124158e600b5feb4d627cfddf1f600a62cdd Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 2 Jan 2011 03:27:25 +0000 Subject: 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 --- textedit.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'textedit.h') diff --git a/textedit.h b/textedit.h index 58bcaab..32dca58 100644 --- a/textedit.h +++ b/textedit.h @@ -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 -- cgit v1.2.3