aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-02 03:27:25 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-02 03:27:25 +0000
commit688f124158e600b5feb4d627cfddf1f600a62cdd (patch)
treecde0d99d6d8b29eec6f10f533366ea09046a2712 /textedit.h
parentadded editorpage files (diff)
downloadgpg4usb-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.h6
1 files changed, 2 insertions, 4 deletions
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