Форматирование кода

This commit is contained in:
Andrei Astafev 2020-04-19 09:49:38 +03:00
parent 281ec272d8
commit 68315ce08d
2 changed files with 15 additions and 14 deletions

View File

@ -2,10 +2,10 @@
#include <QObject> #include <QObject>
class FileSignalHandler : public QObject { class FileSignalHandler : public QObject
{
Q_OBJECT Q_OBJECT
public: public:
Q_SLOT void process() {}; Q_SLOT void process() {}
}; };

View File

@ -1,15 +1,15 @@
#include "cmlib_private_config.hpp" #include "cmlib_private_config.hpp"
#include "fsh.hpp"
#include <QCoreApplication> #include <QCoreApplication>
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>
#include "fsh.hpp"
// function args by ref // function args by ref
int qStringToInt( QString s ) int qStringToInt( QString s )
{ {
return s.toInt(); return( s.toInt() );
} }
@ -50,4 +50,5 @@ int main( int argc, char** argv )
QObject::connect( &f, SIGNAL(aboutToClose()), &fsh, SLOT(process()) ); QObject::connect( &f, SIGNAL(aboutToClose()), &fsh, SLOT(process()) );
return( 0 ); return( 0 );
} } // main