diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-10-09 19:44:51 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-10-09 19:44:51 +0000 |
commit | ab6aec8f791fbdb092555448a1ed2d8f36659b0c (patch) | |
tree | 6e03778e21c996fa141e827ae90bf62e64db2494 /textedit.cpp | |
parent | use dedicated copies of QTextCursor (diff) | |
download | gpg4usb-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.cpp | 4 |
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"; |