Commit fa3ca500 authored by Karel Slaný's avatar Karel Slaný

Minor adjustments.

parent f8551658
......@@ -36,7 +36,8 @@
#include "src/sqlite/message_db_container.h"
#include "src/sqlite/file_db_container.h"
Accounts::Accounts(QObject *parent) : QObject(parent)
Accounts::Accounts(QObject *parent)
: QObject(parent)
{
}
......
/*
* Copyright (C) 2014-2016 CZ.NIC
* Copyright (C) 2014-2017 CZ.NIC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -21,8 +21,8 @@
* the two.
*/
#ifndef ACCOUNTS_H
#define ACCOUNTS_H
#ifndef _ACCOUNTS_H_
#define _ACCOUNTS_H_
#include <QObject>
......@@ -45,11 +45,10 @@
* Class is initialised in the main function (main.cpp)
*/
class Accounts : public QObject {
Q_OBJECT
Q_OBJECT
public:
Accounts(QObject* parent = 0);
Accounts(QObject *parent = Q_NULLPTR);
/*!
* @brief Update new message counter.
......@@ -106,7 +105,6 @@ public:
void saveAccountRequest(void);
signals:
/*!
* @brief Send account settings to QML settings page.
*/
......@@ -125,7 +123,6 @@ signals:
*/
void removeIsdsCtx(QString userName);
/*!
* @brief Send responce save account to listview in QML.
* TODO - Must be replaced via better solution in the future.
......@@ -144,4 +141,4 @@ private:
const QString getAccountTypeText(bool isTest);
};
#endif // ACCOUNTS_H
#endif /* _ACCOUNTS_H_ */
......@@ -21,8 +21,8 @@
* the two.
*/
#ifndef _QML_DIALOGUE_H_
#define _QML_DIALOGUE_H_
#ifndef _QML_INPUT_DIALOGUE_H_
#define _QML_INPUT_DIALOGUE_H_
#include <QEventLoop>
#include <QObject>
......@@ -100,4 +100,4 @@ private:
QObject *s_dlgTextInput; /*!< Persistent text input dialogue. */
};
#endif /* _QML_DIALOGUE_H_ */
#endif /* _QML_INPUT_DIALOGUE_H_ */
/*
* Copyright (C) 2014-2016 CZ.NIC
* Copyright (C) 2014-2017 CZ.NIC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
/*
* Copyright (C) 2014-2016 CZ.NIC
* Copyright (C) 2014-2017 CZ.NIC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
/*
* Copyright (C) 2014-2016 CZ.NIC
* Copyright (C) 2014-2017 CZ.NIC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -21,7 +21,6 @@
* the two.
*/
#include <QDebug>
#include <QFileInfo>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment