aboutsummaryrefslogtreecommitdiffstats
path: root/editorpage.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-04 12:43:58 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-04 12:43:58 +0000
commit9942ea51dfbf0d1e86dbda35e4cfc02e561b54f6 (patch)
tree19152a1e9f3c41380bf58d0a5858fa28481186ab /editorpage.cpp
parentadded import from old gpg4usb to wizard (beautifying has to be done) (diff)
downloadgpg4usb-9942ea51dfbf0d1e86dbda35e4cfc02e561b54f6.tar.gz
gpg4usb-9942ea51dfbf0d1e86dbda35e4cfc02e561b54f6.zip
changed qplaintextedit to qtextedit
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@652 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'editorpage.cpp')
-rw-r--r--editorpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editorpage.cpp b/editorpage.cpp
index c89ba4a..c28059d 100644
--- a/editorpage.cpp
+++ b/editorpage.cpp
@@ -24,7 +24,7 @@
EditorPage::EditorPage(const QString &filePath, QWidget *parent) : QWidget(parent),
fullFilePath(filePath)
{
- textPage = new QPlainTextEdit();
+ textPage = new QTextEdit();
mainLayout = new QVBoxLayout();
mainLayout->setSpacing(0);
mainLayout->addWidget(textPage);
@@ -39,7 +39,7 @@ const QString& EditorPage::getFilePath() const
return fullFilePath;
}
-QPlainTextEdit* EditorPage::getTextPage()
+QTextEdit* EditorPage::getTextPage()
{
return textPage;
}