[X2Go-Commits] [x2goclient] 02/02: helpdialog.{cpp, h}: whitespace only.
git-admin at x2go.org
git-admin at x2go.org
Thu Apr 23 16:20:23 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 53727612e5bf50b9c358a1f3d23c22c67b3e9675
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Apr 23 16:19:57 2015 +0200
helpdialog.{cpp,h}: whitespace only.
---
src/helpdialog.cpp | 14 ++++++--------
src/helpdialog.h | 12 ++++++------
2 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/src/helpdialog.cpp b/src/helpdialog.cpp
index cc6a5b0..67b118c 100644
--- a/src/helpdialog.cpp
+++ b/src/helpdialog.cpp
@@ -18,19 +18,17 @@
#include "helpdialog.h"
-HelpDialog::HelpDialog(QWidget* parent): QDialog(parent)
-{
- setupUi(this);
+HelpDialog::HelpDialog (QWidget *parent): QDialog (parent) {
+ setupUi (this);
}
-void HelpDialog::setText(QString text)
-{
+void HelpDialog::setText (QString text) {
QFont font ("monospace");
font.setStyleHint (QFont::Monospace);
plainTextEdit->setFont (font);
- plainTextEdit->setTabStopWidth(30);
- plainTextEdit->setWordWrapMode(QTextOption::NoWrap);
- plainTextEdit->setPlainText(text);
+ plainTextEdit->setTabStopWidth (30);
+ plainTextEdit->setWordWrapMode (QTextOption::NoWrap);
+ plainTextEdit->setPlainText (text);
}
diff --git a/src/helpdialog.h b/src/helpdialog.h
index 4bc8be5..519d121 100644
--- a/src/helpdialog.h
+++ b/src/helpdialog.h
@@ -20,11 +20,11 @@
#define HELPDIALOG_H
#include "ui_helpdialog.h"
-class HelpDialog:public QDialog, public Ui_HelpDialog
-{
-public:
- HelpDialog(QWidget* parent=0);
- void setText(QString text);
+
+class HelpDialog : public QDialog, public Ui_HelpDialog {
+ public:
+ HelpDialog (QWidget *parent = 0);
+ void setText (QString text);
};
-#endif // HELPDIALOG_H
+#endif /* !defined (HELPDIALOG_H) */
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list