aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'textedit.h')
-rw-r--r--textedit.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/textedit.h b/textedit.h
index 5ee9931..5e61721 100644
--- a/textedit.h
+++ b/textedit.h
@@ -41,7 +41,6 @@ class TextEdit : public QWidget
Q_OBJECT
public:
TextEdit();
- void setCurrentFile(const QString &fileName);
void loadFile(const QString &fileName);
bool maybeSave();
QPlainTextEdit* curTextPage();
@@ -54,11 +53,10 @@ public slots:
void print();
void newTab();
void showModified();
+ void closeTab();
private:
- bool isKey(QString key);
QString strippedName(const QString &fullFileName);
- QString curFile;
int countPage;
QTabWidget *tabWidget;
bool maybeSaveFile();