aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-10-09 19:44:51 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-10-09 19:44:51 +0000
commitab6aec8f791fbdb092555448a1ed2d8f36659b0c (patch)
tree6e03778e21c996fa141e827ae90bf62e64db2494 /textedit.cpp
parentuse dedicated copies of QTextCursor (diff)
downloadgpg4usb-ab6aec8f791fbdb092555448a1ed2d8f36659b0c.tar.gz
gpg4usb-ab6aec8f791fbdb092555448a1ed2d8f36659b0c.zip
updated TODO und some refactoring
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@995 34ebc366-c3a9-4b3c-9f84-69acf7962910
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";