Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20164 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Apr 16, 2014
1 parent 2e41014 commit 448352e
Show file tree
Hide file tree
Showing 108 changed files with 664 additions and 664 deletions.
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/application.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
4 changes: 2 additions & 2 deletions OMNotebook/OMNotebookGUI/cell.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down Expand Up @@ -99,7 +99,7 @@ namespace IAEX
{
setMouseTracking(true);
setEnabled(true);

mainlayout_ = new QGridLayout(this);
mainlayout_->setMargin(0);
mainlayout_->setSpacing(0);
Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cell.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellapplication.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellapplication.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellcommandcenter.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellcommandcenter.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellcommands.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellcommands.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellcursor.cpp
Expand Up @@ -27,7 +27,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellcursor.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/celldocument.cpp
Expand Up @@ -28,7 +28,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/celldocument.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/celldocumentview.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellfactory.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellfactory.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellgroup.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellgroup.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellparserfactory.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellstyle.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/chaptercountervisitor.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/chaptercountervisitor.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/command.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/commandcenter.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/commandcompletion.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/commandcompletion.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/commandunit.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cursorcommands.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cursorposvisitor.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/document.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/documentview.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
6 changes: 3 additions & 3 deletions OMNotebook/OMNotebookGUI/evalthread.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand All @@ -37,7 +37,7 @@
#include <QMessageBox>
using namespace std;

EvalThread::EvalThread(InputCellDelegate* delegate_, QString expr_, QObject* parent):
EvalThread::EvalThread(InputCellDelegate* delegate_, QString expr_, QObject* parent):
QThread(parent), delegate_(delegate_), expr(expr_)
{
res = "";
Expand Down Expand Up @@ -93,7 +93,7 @@ QMutex evalMutex; // adrpo 2009-01-19

void EvalThread::run()
{
evalMutex.lock(); // lock so NO other threads can enter this part!
evalMutex.lock(); // lock so NO other threads can enter this part!
try
{
delegate_->evalExpression(expr);
Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/evalthread.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/factory.h
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down
18 changes: 9 additions & 9 deletions OMNotebook/OMNotebookGUI/graphcell.cpp
Expand Up @@ -26,7 +26,7 @@
*
* See the full OSMC Public License conditions for more details.
*
* For more information about the Qt-library visit TrollTech's webpage
* For more information about the Qt-library visit TrollTech's webpage
* regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
*/

Expand Down Expand Up @@ -471,7 +471,7 @@ namespace IAEX {
emit urlClicked(QUrl(text()));
}

MyAction::MyAction(const QString& text, QObject* parent): QAction(text, parent)
MyAction::MyAction(const QString& text, QObject* parent): QAction(text, parent)
{
}

Expand Down Expand Up @@ -505,8 +505,8 @@ namespace IAEX {
* 2005-11-23 AF, added document to the constructor, because need
* the document to insert images to the output part if ploting.
*/
GraphCell::GraphCell(Document *doc, QWidget *parent) :
Cell(parent), evaluated_(false), closed_(true), delegate_(0),
GraphCell::GraphCell(Document *doc, QWidget *parent) :
Cell(parent), evaluated_(false), closed_(true), delegate_(0),
oldHeight_( 0 ), document_(doc), mpPlotWindow(0)
{
QWidget *main = new QWidget(this);
Expand Down Expand Up @@ -1307,7 +1307,7 @@ namespace IAEX {
bool GraphCell::isEvaluated()
{
return evaluated_;
}
}

void GraphCell::setExpr(QString expr)
{
Expand Down Expand Up @@ -1377,8 +1377,8 @@ namespace IAEX {

QString openmodelica = OmcInteractiveEnvironment::OpenModelicaHome();
if( openmodelica.isEmpty() )
QMessageBox::critical( 0,
"OpenModelica Error",
QMessageBox::critical( 0,
"OpenModelica Error",
"Could not find environment variable OPENMODELICAHOME; OMNotebook will therefore not work correctly" );

if( openmodelica.endsWith("/") || openmodelica.endsWith( "\\") )
Expand Down Expand Up @@ -1419,10 +1419,10 @@ namespace IAEX {
return;
}

{
{
guard->lock();
try
{
{
// adrpo:FIXME! WRONG! TODO! this is wrong!
// the commands should be sent to OMC in the same sequence
// they appear in the notebook, otherwise a simulate command
Expand Down

0 comments on commit 448352e

Please sign in to comment.