aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/textedit.cpp b/textedit.cpp
index 14dde4a..8753cd7 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -36,13 +36,13 @@ TextEdit::TextEdit()
setLayout(layout);
connect(tabWidget, SIGNAL(tabCloseRequested(int)), this, SLOT(removeTab(int)));
- slotNewTab();
+ slotNewEditorPageTab();
setAcceptDrops(false);
QPushButton *newButton = new QPushButton("new",this);
tabWidget->setCornerWidget(newButton,Qt::TopRightCorner);
}
-void TextEdit::slotNewTab()
+void TextEdit::slotNewEditorPageTab()
{
QString header = tr("untitled") +
QString::number(++countPage)+".txt";