1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

revert: "refactor: Added to include path and exclude it from all includes"

Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
This commit is contained in:
Zetok Zalbavar 2016-12-19 02:26:26 +00:00
parent 4972ac1d53
commit d4ac13dbf4
No known key found for this signature in database
GPG Key ID: C953D3880212068A
119 changed files with 479 additions and 480 deletions

View File

@ -353,15 +353,15 @@ Use `C++11`.
## Includes ## Includes
On the project level, include files starting with the module name, e.g. On the project level, include files starting with the root directory of the
`core/core.h` from `widget/widget.cpp`: repository, e.g. `src/core/core.h` from `src/widget/widget.cpp`:
```C++ ```C++
#include "core/core.h" #include "src/core/core.h"
``` ```
Do **not** use `<>` tags to include files on the project level, e.g. Do **not** use `<>` tags to include files on the project level, e.g.
`core/core.h` from `widget/widget.cpp`: `src/core/core.h` from `src/widget/widget.cpp`:
```C++ ```C++
#include <core.h> // WRONG #include <core.h> // WRONG

View File

@ -21,7 +21,6 @@ QT += core gui network xml opengl sql svg widgets
TARGET = qtox TARGET = qtox
TEMPLATE = app TEMPLATE = app
INCLUDEPATH += src
FORMS += \ FORMS += \
src/loginscreen.ui \ src/loginscreen.ui \
src/mainwindow.ui \ src/mainwindow.ui \

View File

@ -18,9 +18,9 @@
*/ */
#include "audio.h" #include "audio.h"
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>

View File

@ -18,7 +18,7 @@
*/ */
#include "chatlinecontentproxy.h" #include "chatlinecontentproxy.h"
#include "chatlog/content/filetransferwidget.h" #include "src/chatlog/content/filetransferwidget.h"
#include <QLayout> #include <QLayout>
#include <QWidget> #include <QWidget>
#include <QPainter> #include <QPainter>

View File

@ -22,7 +22,7 @@
#include "chatlinecontent.h" #include "chatlinecontent.h"
#include "chatlinecontentproxy.h" #include "chatlinecontentproxy.h"
#include "content/filetransferwidget.h" #include "content/filetransferwidget.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include <QDebug> #include <QDebug>
#include <QScrollBar> #include <QScrollBar>

View File

@ -28,8 +28,8 @@
#include <QDebug> #include <QDebug>
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#define NAME_COL_WIDTH 90.0 #define NAME_COL_WIDTH 90.0
#define TIME_COL_WIDTH 90.0 #define TIME_COL_WIDTH 90.0

View File

@ -21,7 +21,7 @@
#define CHATMESSAGE_H #define CHATMESSAGE_H
#include "chatline.h" #include "chatline.h"
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include <QDateTime> #include <QDateTime>
class QGraphicsScene; class QGraphicsScene;

View File

@ -20,12 +20,12 @@
#include "filetransferwidget.h" #include "filetransferwidget.h"
#include "ui_filetransferwidget.h" #include "ui_filetransferwidget.h"
#include "nexus.h" #include "src/nexus.h"
#include "core/core.h" #include "src/core/core.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "widget/widget.h" #include "src/widget/widget.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QMouseEvent> #include <QMouseEvent>
#include <QFileDialog> #include <QFileDialog>

View File

@ -23,8 +23,8 @@
#include <QWidget> #include <QWidget>
#include <QTime> #include <QTime>
#include "chatlog/chatlinecontent.h" #include "src/chatlog/chatlinecontent.h"
#include "core/corestructs.h" #include "src/core/corestructs.h"
namespace Ui { namespace Ui {

View File

@ -31,7 +31,7 @@
#include <QDesktopServices> #include <QDesktopServices>
#include <QTextFragment> #include <QTextFragment>
#include "widget/style.h" #include "src/widget/style.h"
Text::Text(const QString& txt, const QFont& font, bool enableElide, const QString &rwText, const QColor c) Text::Text(const QString& txt, const QFont& font, bool enableElide, const QString &rwText, const QColor c)
: rawText(rwText) : rawText(rwText)

View File

@ -18,9 +18,9 @@
*/ */
#include "customtextdocument.h" #include "customtextdocument.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#include "widget/style.h" #include "src/widget/style.h"
#include <QIcon> #include <QIcon>
#include <QDebug> #include <QDebug>

View File

@ -19,16 +19,16 @@
*/ */
#include "core.h" #include "core.h"
#include "nexus.h" #include "src/nexus.h"
#include "core/cstring.h" #include "src/core/cstring.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "persistence/profilelocker.h" #include "src/persistence/profilelocker.h"
#include "net/avatarbroadcaster.h" #include "src/net/avatarbroadcaster.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "corefile.h" #include "corefile.h"
#include "video/camerasource.h" #include "src/video/camerasource.h"
#include <tox/tox.h> #include <tox/tox.h>
#include <tox/toxav.h> #include <tox/toxav.h>

View File

@ -20,12 +20,12 @@
#include "core.h" #include "core.h"
#include "coreav.h" #include "coreav.h"
#include "audio/audio.h" #include "src/audio/audio.h"
#include "friend.h" #include "src/friend.h"
#include "group.h" #include "src/group.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "video/videoframe.h" #include "src/video/videoframe.h"
#include "video/corevideosource.h" #include "src/video/corevideosource.h"
#include <cassert> #include <cassert>
#include <QThread> #include <QThread>
#include <QTimer> #include <QTimer>

View File

@ -24,7 +24,7 @@
#include <QObject> #include <QObject>
#include <memory> #include <memory>
#include <atomic> #include <atomic>
#include "core/toxcall.h" #include "src/core/toxcall.h"
#include <tox/toxav.h> #include <tox/toxav.h>
class Friend; class Friend;

View File

@ -22,12 +22,12 @@
/* was permanently moved here to handle encryption */ /* was permanently moved here to handle encryption */
#include "core.h" #include "core.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "core/cstring.h" #include "src/core/cstring.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "persistence/historykeeper.h" #include "src/persistence/historykeeper.h"
#include <tox/tox.h> #include <tox/tox.h>
#include <tox/toxencryptsave.h> #include <tox/toxencryptsave.h>
#include <QApplication> #include <QApplication>

View File

@ -21,9 +21,9 @@
#include "core.h" #include "core.h"
#include "corefile.h" #include "corefile.h"
#include "corestructs.h" #include "corestructs.h"
#include "core/cstring.h" #include "src/core/cstring.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>
#include <QThread> #include <QThread>

View File

@ -1,5 +1,5 @@
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "core/core.h" #include "src/core/core.h"
#include <tox/tox.h> #include <tox/tox.h>
#include <QFile> #include <QFile>
#include <QRegularExpression> #include <QRegularExpression>

View File

@ -1,9 +1,9 @@
#include "audio/audio.h" #include "src/audio/audio.h"
#include "core/toxcall.h" #include "src/core/toxcall.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "video/camerasource.h" #include "src/video/camerasource.h"
#include "video/corevideosource.h" #include "src/video/corevideosource.h"
#include <QTimer> #include <QTimer>
#include <QtConcurrent/QtConcurrent> #include <QtConcurrent/QtConcurrent>

View File

@ -5,7 +5,7 @@
#include <QtGlobal> #include <QtGlobal>
#include <QMetaObject> #include <QMetaObject>
#include "core/indexedlist.h" #include "src/core/indexedlist.h"
#include <tox/toxav.h> #include <tox/toxav.h>

View File

@ -23,12 +23,12 @@
#include "widget/friendwidget.h" #include "widget/friendwidget.h"
#include "widget/form/chatform.h" #include "widget/form/chatform.h"
#include "widget/gui.h" #include "widget/gui.h"
#include "core/core.h" #include "src/core/core.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "nexus.h" #include "src/nexus.h"
#include "grouplist.h" #include "src/grouplist.h"
#include "group.h" #include "src/group.h"
Friend::Friend(uint32_t FriendId, const ToxId &UserId) Friend::Friend(uint32_t FriendId, const ToxId &UserId)
: userName{Core::getInstance()->getPeerName(UserId)} : userName{Core::getInstance()->getPeerName(UserId)}

View File

@ -22,7 +22,7 @@
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "core/toxid.h" #include "core/toxid.h"
class FriendWidget; class FriendWidget;

View File

@ -19,7 +19,7 @@
#include "friend.h" #include "friend.h"
#include "friendlist.h" #include "friendlist.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QMenu> #include <QMenu>
#include <QDebug> #include <QDebug>
#include <QHash> #include <QHash>

View File

@ -22,7 +22,7 @@
#include "widget/form/groupchatform.h" #include "widget/form/groupchatform.h"
#include "friendlist.h" #include "friendlist.h"
#include "friend.h" #include "friend.h"
#include "core/core.h" #include "src/core/core.h"
#include "widget/gui.h" #include "widget/gui.h"
#include <QDebug> #include <QDebug>
#include <QTimer> #include <QTimer>

View File

@ -17,8 +17,8 @@
along with qTox. If not, see <http://www.gnu.org/licenses/>. along with qTox. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "ipc.h" #include "src/ipc.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QCoreApplication> #include <QCoreApplication>
#include <QDebug> #include <QDebug>
#include <QThread> #include <QThread>

View File

@ -19,15 +19,15 @@
#include "widget/widget.h" #include "widget/widget.h"
#include "persistence/settings.h" #include "persistence/settings.h"
#include "nexus.h" #include "src/nexus.h"
#include "ipc.h" #include "src/ipc.h"
#include "net/toxuri.h" #include "src/net/toxuri.h"
#include "net/autoupdate.h" #include "src/net/autoupdate.h"
#include "persistence/toxsave.h" #include "src/persistence/toxsave.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "widget/loginscreen.h" #include "src/widget/loginscreen.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "video/camerasource.h" #include "src/video/camerasource.h"
#include <QApplication> #include <QApplication>
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QDateTime> #include <QDateTime>

View File

@ -17,12 +17,12 @@
along with qTox. If not, see <http://www.gnu.org/licenses/>. along with qTox. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "net/autoupdate.h" #include "src/net/autoupdate.h"
#include "persistence/serialize.h" #include "src/persistence/serialize.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/widget.h" #include "src/widget/widget.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "nexus.h" #include "src/nexus.h"
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
#include <QNetworkReply> #include <QNetworkReply>
#include <QCoreApplication> #include <QCoreApplication>

View File

@ -19,7 +19,7 @@
#include "avatarbroadcaster.h" #include "avatarbroadcaster.h"
#include "core/core.h" #include "src/core/core.h"
#include <QObject> #include <QObject>
#include <QDebug> #include <QDebug>

View File

@ -18,7 +18,7 @@
*/ */
#include "toxme.h" #include "toxme.h"
#include "core/core.h" #include "src/core/core.h"
#include <src/persistence/settings.h> #include <src/persistence/settings.h>
#include <QtDebug> #include <QtDebug>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>

View File

@ -26,7 +26,7 @@
#include <QMutex> #include <QMutex>
#include <QNetworkReply> #include <QNetworkReply>
#include <memory> #include <memory>
#include "core/toxid.h" #include "src/core/toxid.h"
class QNetworkAccessManager; class QNetworkAccessManager;

View File

@ -18,11 +18,11 @@
*/ */
#include "net/toxuri.h" #include "src/net/toxuri.h"
#include "net/toxme.h" #include "src/net/toxme.h"
#include "widget/tool/friendrequestdialog.h" #include "src/widget/tool/friendrequestdialog.h"
#include "nexus.h" #include "src/nexus.h"
#include "core/core.h" #include "src/core/core.h"
#include <QByteArray> #include <QByteArray>
#include <QString> #include <QString>
#include <QMessageBox> #include <QMessageBox>

View File

@ -19,10 +19,10 @@
#include "nexus.h" #include "nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "widget/widget.h" #include "src/widget/widget.h"
#include "persistence/settings.h" #include "persistence/settings.h"
#include "video/camerasource.h" #include "video/camerasource.h"
#include "widget/gui.h" #include "widget/gui.h"

View File

@ -18,10 +18,10 @@
*/ */
#include "encrypteddb.h" #include "encrypteddb.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "core/core.h" #include "src/core/core.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include <tox/toxencryptsave.h> #include <tox/toxencryptsave.h>

View File

@ -27,7 +27,7 @@
#include <cstdint> #include <cstdint>
#include <tox/toxencryptsave.h> #include <tox/toxencryptsave.h>
#include "persistence/db/rawdatabase.h" #include "src/persistence/db/rawdatabase.h"
class Profile; class Profile;
class HistoryKeeper; class HistoryKeeper;

View File

@ -18,10 +18,10 @@
*/ */
#include "historykeeper.h" #include "historykeeper.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "core/core.h" #include "src/core/core.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include <QSqlError> #include <QSqlError>
#include <QFile> #include <QFile>
@ -32,8 +32,8 @@
#include <QDebug> #include <QDebug>
#include <QTemporaryFile> #include <QTemporaryFile>
#include "persistence/db/plaindb.h" #include "src/persistence/db/plaindb.h"
#include "persistence/db/encrypteddb.h" #include "src/persistence/db/encrypteddb.h"
/** /**
* @class HistoryKeeper * @class HistoryKeeper

View File

@ -18,11 +18,11 @@
*/ */
#include "offlinemsgengine.h" #include "offlinemsgengine.h"
#include "friend.h" #include "src/friend.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "core/core.h" #include "src/core/core.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include <QMutexLocker> #include <QMutexLocker>
#include <QTimer> #include <QTimer>

View File

@ -25,7 +25,7 @@
#include <QMutex> #include <QMutex>
#include <QDateTime> #include <QDateTime>
#include <QMap> #include <QMap>
#include "chatlog/chatmessage.h" #include "src/chatlog/chatmessage.h"
class Friend; class Friend;
class QTimer; class QTimer;

View File

@ -32,10 +32,10 @@
#include "profilelocker.h" #include "profilelocker.h"
#include "settings.h" #include "settings.h"
#include "historykeeper.h" #include "historykeeper.h"
#include "core/core.h" #include "src/core/core.h"
#include "nexus.h" #include "src/nexus.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/widget.h" #include "src/widget/widget.h"
/** /**
* @class Profile * @class Profile

View File

@ -28,7 +28,7 @@
#include <QObject> #include <QObject>
#include <tox/toxencryptsave.h> #include <tox/toxencryptsave.h>
#include <memory> #include <memory>
#include "persistence/history.h" #include "src/persistence/history.h"
class Core; class Core;
class QThread; class QThread;

View File

@ -19,7 +19,7 @@
#include "profilelocker.h" #include "profilelocker.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QDir> #include <QDir>
#include <QDebug> #include <QDebug>

View File

@ -17,7 +17,7 @@
along with qTox. If not, see <http://www.gnu.org/licenses/>. along with qTox. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "persistence/serialize.h" #include "src/persistence/serialize.h"
/** /**
* @file serialize.cpp * @file serialize.cpp

View File

@ -19,20 +19,20 @@
*/ */
#include "settings.h" #include "settings.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#include "persistence/db/plaindb.h" #include "src/persistence/db/plaindb.h"
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "core/core.h" #include "src/core/core.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "persistence/profilelocker.h" #include "src/persistence/profilelocker.h"
#include "persistence/settingsserializer.h" #include "src/persistence/settingsserializer.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#ifdef QTOX_PLATFORM_EXT #ifdef QTOX_PLATFORM_EXT
#include "platform/autorun.h" #include "src/platform/autorun.h"
#endif #endif
#include "ipc.h" #include "src/ipc.h"
#include <QFont> #include <QFont>
#include <QApplication> #include <QApplication>

View File

@ -29,7 +29,7 @@
#include <QDate> #include <QDate>
#include <QNetworkProxy> #include <QNetworkProxy>
#include <QFlags> #include <QFlags>
#include "core/corestructs.h" #include "src/core/corestructs.h"
class ToxId; class ToxId;
class Profile; class Profile;

View File

@ -19,9 +19,9 @@
#include "settingsserializer.h" #include "settingsserializer.h"
#include "serialize.h" #include "serialize.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "core/core.h" #include "src/core/core.h"
#include <QSaveFile> #include <QSaveFile>
#include <QFile> #include <QFile>
#include <QDebug> #include <QDebug>

View File

@ -18,8 +18,8 @@
*/ */
#include "smileypack.h" #include "smileypack.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/style.h" #include "src/widget/style.h"
#include <QBuffer> #include <QBuffer>
#include <QCoreApplication> #include <QCoreApplication>

View File

@ -18,10 +18,10 @@
*/ */
#include "toxsave.h" #include "toxsave.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "core/core.h" #include "src/core/core.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/tool/profileimporter.h" #include "src/widget/tool/profileimporter.h"
#include <QCoreApplication> #include <QCoreApplication>
#include <QFileInfo> #include <QFileInfo>

View File

@ -18,7 +18,7 @@
*/ */
#if defined(__APPLE__) && defined(__MACH__) #if defined(__APPLE__) && defined(__MACH__)
#include "platform/autorun.h" #include "src/platform/autorun.h"
#include <QSettings> #include <QSettings>
#include <QDir> #include <QDir>
#include <QFile> #include <QFile>

View File

@ -19,8 +19,8 @@
#include <QApplication> #include <QApplication>
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
#include "platform/autorun.h" #include "src/platform/autorun.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <windows.h> #include <windows.h>
#include <string> #include <string>

View File

@ -19,8 +19,8 @@
#include <QApplication> #include <QApplication>
#if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__) #if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__)
#include "platform/autorun.h" #include "src/platform/autorun.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QProcessEnvironment> #include <QProcessEnvironment>
#include <QDir> #include <QDir>

View File

@ -22,7 +22,7 @@
#include <QString> #include <QString>
#include <QVector> #include <QVector>
#include <QPair> #include <QPair>
#include "video/videomode.h" #include "src/video/videomode.h"
#ifndef Q_OS_MACX #ifndef Q_OS_MACX
#error "This file is only meant to be compiled for Mac OS X targets" #error "This file is only meant to be compiled for Mac OS X targets"

View File

@ -24,7 +24,7 @@
#include <QString> #include <QString>
#include <QVector> #include <QVector>
#include <QPair> #include <QPair>
#include "video/videomode.h" #include "src/video/videomode.h"
#ifndef Q_OS_WIN #ifndef Q_OS_WIN
#error "This file is only meant to be compiled for Windows targets" #error "This file is only meant to be compiled for Windows targets"

View File

@ -22,7 +22,7 @@
#include <QString> #include <QString>
#include <QVector> #include <QVector>
#include <QPair> #include <QPair>
#include "video/videomode.h" #include "src/video/videomode.h"
#if !(defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)) #if !(defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD))
#error "This file is only meant to be compiled for Linux or FreeBSD targets" #error "This file is only meant to be compiled for Linux or FreeBSD targets"

View File

@ -19,7 +19,7 @@
#include <QtCore/qsystemdetection.h> #include <QtCore/qsystemdetection.h>
#if defined(__APPLE__) && defined(__MACH__) #if defined(__APPLE__) && defined(__MACH__)
#include "platform/capslock.h" #include "src/platform/capslock.h"
// TODO: Implement for osx // TODO: Implement for osx
bool Platform::capsLockEnabled() bool Platform::capsLockEnabled()

View File

@ -20,7 +20,7 @@
#include <QtCore/qsystemdetection.h> #include <QtCore/qsystemdetection.h>
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
#include <windows.h> #include <windows.h>
#include "platform/capslock.h" #include "src/platform/capslock.h"
bool Platform::capsLockEnabled() bool Platform::capsLockEnabled()
{ {

View File

@ -20,7 +20,7 @@
#include <QtCore/qsystemdetection.h> #include <QtCore/qsystemdetection.h>
#if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__) #if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__)
#include <X11/XKBlib.h> #include <X11/XKBlib.h>
#include "platform/capslock.h" #include "src/platform/capslock.h"
#undef KeyPress #undef KeyPress
#undef KeyRelease #undef KeyRelease
#undef FocusIn #undef FocusIn

View File

@ -25,7 +25,7 @@
#include <QtCore/qsystemdetection.h> #include <QtCore/qsystemdetection.h>
#if defined(__APPLE__) && defined(__MACH__) #if defined(__APPLE__) && defined(__MACH__)
#include "platform/timer.h" #include "src/platform/timer.h"
#include <IOKit/IOKitLib.h> #include <IOKit/IOKitLib.h>
#include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>

View File

@ -19,7 +19,7 @@
#include <QtCore/qsystemdetection.h> #include <QtCore/qsystemdetection.h>
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
#include "platform/timer.h" #include "src/platform/timer.h"
#include <windows.h> #include <windows.h>
uint32_t Platform::getIdleTime() uint32_t Platform::getIdleTime()

View File

@ -18,7 +18,7 @@
#include <QtCore/qsystemdetection.h> #include <QtCore/qsystemdetection.h>
#if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__) #if defined(Q_OS_UNIX) && !defined(__APPLE__) && !defined(__MACH__)
#include <QDebug> #include <QDebug>
#include "platform/timer.h" #include "src/platform/timer.h"
#include <X11/extensions/scrnsaver.h> #include <X11/extensions/scrnsaver.h>
uint32_t Platform::getIdleTime() uint32_t Platform::getIdleTime()

View File

@ -26,16 +26,16 @@ extern "C" {
#include <libavdevice/avdevice.h> #include <libavdevice/avdevice.h>
} }
#include "cameradevice.h" #include "cameradevice.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include "platform/camera/directshow.h" #include "src/platform/camera/directshow.h"
#endif #endif
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
#include "platform/camera/v4l2.h" #include "src/platform/camera/v4l2.h"
#endif #endif
#ifdef Q_OS_OSX #ifdef Q_OS_OSX
#include "platform/camera/avfoundation.h" #include "src/platform/camera/avfoundation.h"
#endif #endif
/** /**

View File

@ -29,7 +29,7 @@ extern "C" {
#include <QtConcurrent/QtConcurrentRun> #include <QtConcurrent/QtConcurrentRun>
#include <memory> #include <memory>
#include <functional> #include <functional>
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "camerasource.h" #include "camerasource.h"
#include "cameradevice.h" #include "cameradevice.h"
#include "videoframe.h" #include "videoframe.h"

View File

@ -26,8 +26,8 @@
#include <QVector> #include <QVector>
#include <QReadWriteLock> #include <QReadWriteLock>
#include <atomic> #include <atomic>
#include "video/videosource.h" #include "src/video/videosource.h"
#include "video/videomode.h" #include "src/video/videomode.h"
class CameraDevice; class CameraDevice;
struct AVCodecContext; struct AVCodecContext;

View File

@ -24,7 +24,7 @@
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QWidget> #include <QWidget>
#include "video/videosurface.h" #include "src/video/videosurface.h"
class GenericNetCamView : public QWidget class GenericNetCamView : public QWidget
{ {

View File

@ -18,14 +18,14 @@
*/ */
#include "groupnetcamview.h" #include "groupnetcamview.h"
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "video/videosurface.h" #include "src/video/videosurface.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "audio/audio.h" #include "src/audio/audio.h"
#include "core/core.h" #include "src/core/core.h"
#include "nexus.h" #include "src/nexus.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "friend.h" #include "src/friend.h"
#include <QBoxLayout> #include <QBoxLayout>
#include <QScrollArea> #include <QScrollArea>
#include <QSplitter> #include <QSplitter>

View File

@ -19,14 +19,14 @@
#include "netcamview.h" #include "netcamview.h"
#include "camerasource.h" #include "camerasource.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "core/core.h" #include "src/core/core.h"
#include "video/videosurface.h" #include "src/video/videosurface.h"
#include "widget/tool/movablewidget.h" #include "src/widget/tool/movablewidget.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "nexus.h" #include "src/nexus.h"
#include <QLabel> #include <QLabel>
#include <QBoxLayout> #include <QBoxLayout>
#include <QFrame> #include <QFrame>

View File

@ -18,13 +18,13 @@
*/ */
#include "videosurface.h" #include "videosurface.h"
#include "video/videoframe.h" #include "src/video/videoframe.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "widget/friendwidget.h" #include "src/widget/friendwidget.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "core/core.h" #include "src/core/core.h"
#include "widget/style.h" #include "src/widget/style.h"
#include <QPainter> #include <QPainter>
#include <QLabel> #include <QLabel>

View File

@ -23,7 +23,7 @@
#include <QWidget> #include <QWidget>
#include <memory> #include <memory>
#include <atomic> #include <atomic>
#include "video/videosource.h" #include "src/video/videosource.h"
class VideoSurface : public QWidget class VideoSurface : public QWidget
{ {

View File

@ -1,8 +1,8 @@
#include "aboutuser.h" #include "aboutuser.h"
#include "ui_aboutuser.h" #include "ui_aboutuser.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "nexus.h" #include "src/nexus.h"
#include <QDir> #include <QDir>
#include <QFileDialog> #include <QFileDialog>

View File

@ -2,7 +2,7 @@
#define ABOUTUSER_H #define ABOUTUSER_H
#include <QDialog> #include <QDialog>
#include "friend.h" #include "src/friend.h"
namespace Ui { namespace Ui {

View File

@ -21,7 +21,7 @@
#include "friendlistlayout.h" #include "friendlistlayout.h"
#include "friendlistwidget.h" #include "friendlistwidget.h"
#include "friendwidget.h" #include "friendwidget.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "tool/croppinglabel.h" #include "tool/croppinglabel.h"
#include <QBoxLayout> #include <QBoxLayout>
#include <QMouseEvent> #include <QMouseEvent>

View File

@ -21,7 +21,7 @@
#define CATEGORYWIDGET_H #define CATEGORYWIDGET_H
#include "genericchatitemwidget.h" #include "genericchatitemwidget.h"
#include "core/corestructs.h" #include "src/core/corestructs.h"
class FriendListLayout; class FriendListLayout;
class FriendListWidget; class FriendListWidget;

View File

@ -33,9 +33,9 @@
#include "tool/croppinglabel.h" #include "tool/croppinglabel.h"
#include "widget.h" #include "widget.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
QHash<int, CircleWidget*> CircleWidget::circleList; QHash<int, CircleWidget*> CircleWidget::circleList;

View File

@ -32,16 +32,16 @@
#include "style.h" #include "style.h"
#include "widget.h" #include "widget.h"
#include "tool/adjustingscrollarea.h" #include "tool/adjustingscrollarea.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "group.h" #include "src/group.h"
#include "grouplist.h" #include "src/grouplist.h"
#include "widget/form/chatform.h" #include "src/widget/form/chatform.h"
#include "core/core.h" #include "src/core/core.h"
#include "widget/friendlistlayout.h" #include "src/widget/friendlistlayout.h"
#include "widget/form/settingswidget.h" #include "src/widget/form/settingswidget.h"
#include "widget/translator.h" #include "src/widget/translator.h"
ContentDialog* ContentDialog::currentDialog = nullptr; ContentDialog* ContentDialog::currentDialog = nullptr;
QHash<int, std::tuple<ContentDialog*, GenericChatroomWidget*>> ContentDialog::friendList; QHash<int, std::tuple<ContentDialog*, GenericChatroomWidget*>> ContentDialog::friendList;

View File

@ -22,9 +22,9 @@
#include <tuple> #include <tuple>
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "widget/genericchatitemlayout.h" #include "src/widget/genericchatitemlayout.h"
#include "widget/tool/activatedialog.h" #include "src/widget/tool/activatedialog.h"
template <typename K, typename V> class QHash; template <typename K, typename V> class QHash;
template <typename T> class QSet; template <typename T> class QSet;

View File

@ -18,7 +18,7 @@
*/ */
#include "contentlayout.h" #include "contentlayout.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "style.h" #include "style.h"
#include <QStyleFactory> #include <QStyleFactory>
#include <QFrame> #include <QFrame>

View File

@ -18,9 +18,9 @@
*/ */
#include "emoticonswidget.h" #include "emoticonswidget.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include <QPushButton> #include <QPushButton>
#include <QRadioButton> #include <QRadioButton>

View File

@ -27,15 +27,15 @@
#include <QTabWidget> #include <QTabWidget>
#include <QSignalMapper> #include <QSignalMapper>
#include <tox/tox.h> #include <tox/tox.h>
#include "nexus.h" #include "src/nexus.h"
#include "core/core.h" #include "src/core/core.h"
#include "net/toxme.h" #include "src/net/toxme.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/contentlayout.h" #include "src/widget/contentlayout.h"
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "net/toxme.h" #include "src/net/toxme.h"
#include <QWindow> #include <QWindow>
#include <QScrollArea> #include <QScrollArea>

View File

@ -19,6 +19,35 @@
#include "chatform.h" #include "chatform.h"
#include "src/audio/audio.h"
#include "src/chatlog/chatlinecontentproxy.h"
#include "src/chatlog/chatlog.h"
#include "src/chatlog/chatmessage.h"
#include "src/chatlog/content/filetransferwidget.h"
#include "src/chatlog/content/text.h"
#include "src/core/core.h"
#include "src/core/coreav.h"
#include "src/core/cstring.h"
#include "src/friend.h"
#include "src/nexus.h"
#include "src/persistence/offlinemsgengine.h"
#include "src/persistence/profile.h"
#include "src/persistence/settings.h"
#include "src/video/camerasource.h"
#include "src/video/netcamview.h"
#include "src/video/videosource.h"
#include "src/widget/form/loadhistorydialog.h"
#include "src/widget/friendwidget.h"
#include "src/widget/maskablepixmapwidget.h"
#include "src/widget/style.h"
#include "src/widget/tool/callconfirmwidget.h"
#include "src/widget/tool/chattextedit.h"
#include "src/widget/tool/croppinglabel.h"
#include "src/widget/tool/flyoutoverlaywidget.h"
#include "src/widget/tool/screenshotgrabber.h"
#include "src/widget/translator.h"
#include "src/widget/widget.h"
#include <QApplication> #include <QApplication>
#include <QBitmap> #include <QBitmap>
#include <QBoxLayout> #include <QBoxLayout>
@ -37,37 +66,7 @@
#include <QTemporaryFile> #include <QTemporaryFile>
#include <cassert> #include <cassert>
#include "chatform.h"
#include "audio/audio.h"
#include "chatlog/chatlinecontentproxy.h"
#include "chatlog/chatlog.h"
#include "chatlog/chatmessage.h"
#include "chatlog/content/filetransferwidget.h"
#include "chatlog/content/text.h"
#include "core/core.h"
#include "core/coreav.h"
#include "core/cstring.h"
#include "friend.h"
#include "nexus.h"
#include "nexus.h"
#include "persistence/offlinemsgengine.h"
#include "persistence/profile.h"
#include "persistence/settings.h"
#include "video/camerasource.h"
#include "video/netcamview.h"
#include "video/videosource.h"
#include "widget/form/loadhistorydialog.h"
#include "widget/friendwidget.h"
#include "widget/maskablepixmapwidget.h"
#include "widget/style.h"
#include "widget/tool/callconfirmwidget.h"
#include "widget/tool/chattextedit.h"
#include "widget/tool/croppinglabel.h"
#include "widget/tool/flyoutoverlaywidget.h"
#include "widget/tool/screenshotgrabber.h"
#include "widget/translator.h"
#include "widget/widget.h"
const QString ChatForm::ACTION_PREFIX = QStringLiteral("/me "); const QString ChatForm::ACTION_PREFIX = QStringLiteral("/me ");

View File

@ -26,8 +26,8 @@
#include <QElapsedTimer> #include <QElapsedTimer>
#include "genericchatform.h" #include "genericchatform.h"
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "widget/tool/screenshotgrabber.h" #include "src/widget/tool/screenshotgrabber.h"
class Friend; class Friend;
class FileTransferInstance; class FileTransferInstance;

View File

@ -18,9 +18,9 @@
*/ */
#include "filesform.h" #include "filesform.h"
#include "widget/widget.h" #include "src/widget/widget.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/contentlayout.h" #include "src/widget/contentlayout.h"
#include <QFileInfo> #include <QFileInfo>
#include <QWindow> #include <QWindow>

View File

@ -28,26 +28,26 @@
#include <QSplitter> #include <QSplitter>
#include <QClipboard> #include <QClipboard>
#include "chatlog/chatlog.h" #include "src/chatlog/chatlog.h"
#include "chatlog/content/timestamp.h" #include "src/chatlog/content/timestamp.h"
#include "core/core.h" #include "src/core/core.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "group.h" #include "src/group.h"
#include "grouplist.h" #include "src/grouplist.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#include "video/genericnetcamview.h" #include "src/video/genericnetcamview.h"
#include "widget/contentdialog.h" #include "src/widget/contentdialog.h"
#include "widget/contentlayout.h" #include "src/widget/contentlayout.h"
#include "widget/emoticonswidget.h" #include "src/widget/emoticonswidget.h"
#include "widget/maskablepixmapwidget.h" #include "src/widget/maskablepixmapwidget.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "widget/tool/chattextedit.h" #include "src/widget/tool/chattextedit.h"
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "widget/tool/flyoutoverlaywidget.h" #include "src/widget/tool/flyoutoverlaywidget.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/widget.h" #include "src/widget/widget.h"
GenericChatForm::GenericChatForm(QWidget *parent) GenericChatForm::GenericChatForm(QWidget *parent)
: QWidget(parent, Qt::Window) : QWidget(parent, Qt::Window)

View File

@ -24,9 +24,9 @@
#include <QPoint> #include <QPoint>
#include <QDateTime> #include <QDateTime>
#include <QMenu> #include <QMenu>
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "chatlog/chatmessage.h" #include "src/chatlog/chatmessage.h"
#include "core/toxid.h" #include "src/core/toxid.h"
/** /**
* Spacing in px inserted when the author of the last message changes * Spacing in px inserted when the author of the last message changes

View File

@ -24,19 +24,19 @@
#include <QTimer> #include <QTimer>
#include "tabcompleter.h" #include "tabcompleter.h"
#include "group.h" #include "src/group.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "widget/groupwidget.h" #include "src/widget/groupwidget.h"
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "widget/maskablepixmapwidget.h" #include "src/widget/maskablepixmapwidget.h"
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "widget/flowlayout.h" #include "src/widget/flowlayout.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/form/chatform.h" #include "src/widget/form/chatform.h"
#include "video/groupnetcamview.h" #include "src/video/groupnetcamview.h"
/** /**
* @var QList<QLabel*> GroupChatForm::peerLabels * @var QList<QLabel*> GroupChatForm::peerLabels

View File

@ -29,14 +29,14 @@
#include <QLabel> #include <QLabel>
#include <QWindow> #include <QWindow>
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "nexus.h" #include "src/nexus.h"
#include "core/core.h" #include "src/core/core.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/contentlayout.h" #include "src/widget/contentlayout.h"
GroupInviteForm::GroupInviteForm() GroupInviteForm::GroupInviteForm()
{ {

View File

@ -23,8 +23,8 @@
#include <QWidget> #include <QWidget>
#include <QDateTime> #include <QDateTime>
#include <QSet> #include <QSet>
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include <QScrollArea> #include <QScrollArea>
class QLabel; class QLabel;

View File

@ -17,23 +17,23 @@
along with qTox. If not, see <http://www.gnu.org/licenses/>. along with qTox. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "core/core.h" #include "src/core/core.h"
#include "nexus.h" #include "src/nexus.h"
#include "ui_profileform.h" #include "ui_profileform.h"
#include "profileform.h" #include "profileform.h"
#include "widget/form/settingswidget.h" #include "src/widget/form/settingswidget.h"
#include "widget/maskablepixmapwidget.h" #include "src/widget/maskablepixmapwidget.h"
#include "widget/form/setpassworddialog.h" #include "src/widget/form/setpassworddialog.h"
#include "widget/contentlayout.h" #include "src/widget/contentlayout.h"
#include "widget/tool/croppinglabel.h" #include "src/widget/tool/croppinglabel.h"
#include "widget/widget.h" #include "src/widget/widget.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "persistence/profilelocker.h" #include "src/persistence/profilelocker.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "net/toxme.h" #include "src/net/toxme.h"
#include <QLabel> #include <QLabel>
#include <QLineEdit> #include <QLineEdit>
#include <QGroupBox> #include <QGroupBox>

View File

@ -24,8 +24,8 @@
#include <QLabel> #include <QLabel>
#include <QTimer> #include <QTimer>
#include <QVBoxLayout> #include <QVBoxLayout>
#include "core/core.h" #include "src/core/core.h"
#include "widget/qrwidget.h" #include "src/widget/qrwidget.h"
class CroppingLabel; class CroppingLabel;
class Core; class Core;

View File

@ -24,9 +24,9 @@
#include <QDebug> #include <QDebug>
#include <tox/tox.h> #include <tox/tox.h>
#include "core/recursivesignalblocker.h" #include "src/core/recursivesignalblocker.h"
#include "net/autoupdate.h" #include "src/net/autoupdate.h"
#include "widget/translator.h" #include "src/widget/translator.h"
/** /**
* @class AboutForm * @class AboutForm

View File

@ -27,15 +27,15 @@
#include <QClipboard> #include <QClipboard>
#include <QFileDialog> #include <QFileDialog>
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "core/recursivesignalblocker.h" #include "src/core/recursivesignalblocker.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/db/plaindb.h" #include "src/persistence/db/plaindb.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/translator.h" #include "src/widget/translator.h"
/** /**
* @class AdvancedForm * @class AdvancedForm

View File

@ -27,16 +27,16 @@
#include <QScreen> #include <QScreen>
#include <QShowEvent> #include <QShowEvent>
#include "audio/audio.h" #include "src/audio/audio.h"
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "core/recursivesignalblocker.h" #include "src/core/recursivesignalblocker.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "video/cameradevice.h" #include "src/video/cameradevice.h"
#include "video/camerasource.h" #include "src/video/camerasource.h"
#include "video/videosurface.h" #include "src/video/videosurface.h"
#include "widget/tool/screenshotgrabber.h" #include "src/widget/tool/screenshotgrabber.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#ifndef ALC_ALL_DEVICES_SPECIFIER #ifndef ALC_ALL_DEVICES_SPECIFIER
#define ALC_ALL_DEVICES_SPECIFIER ALC_DEVICE_SPECIFIER #define ALC_ALL_DEVICES_SPECIFIER ALC_DEVICE_SPECIFIER

View File

@ -26,7 +26,7 @@
#include "genericsettings.h" #include "genericsettings.h"
#include "ui_avform.h" #include "ui_avform.h"
#include "video/videomode.h" #include "src/video/videomode.h"
class CameraSource; class CameraSource;

View File

@ -22,18 +22,18 @@
#include <QFileDialog> #include <QFileDialog>
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "core/recursivesignalblocker.h" #include "src/core/recursivesignalblocker.h"
#include "net/autoupdate.h" #include "src/net/autoupdate.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#include "widget/form/settingswidget.h" #include "src/widget/form/settingswidget.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/widget.h" #include "src/widget/widget.h"
static QStringList locales = {"ar", static QStringList locales = {"ar",
"be", "be",

View File

@ -24,17 +24,17 @@
#include <QFile> #include <QFile>
#include <QMessageBox> #include <QMessageBox>
#include "core/core.h" #include "src/core/core.h"
#include "core/recursivesignalblocker.h" #include "src/core/recursivesignalblocker.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/history.h" #include "src/persistence/history.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "widget/form/setpassworddialog.h" #include "src/widget/form/setpassworddialog.h"
#include "widget/form/settingswidget.h" #include "src/widget/form/settingswidget.h"
#include "widget/gui.h" #include "src/widget/gui.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/widget.h" #include "src/widget/widget.h"
PrivacyForm::PrivacyForm() PrivacyForm::PrivacyForm()
: GenericForm(QPixmap(":/img/settings/privacy.png")) : GenericForm(QPixmap(":/img/settings/privacy.png"))

View File

@ -31,18 +31,18 @@
#include <QTime> #include <QTime>
#include <QVector> #include <QVector>
#include "core/core.h" #include "src/core/core.h"
#include "core/coreav.h" #include "src/core/coreav.h"
#include "core/recursivesignalblocker.h" #include "src/core/recursivesignalblocker.h"
#include "net/autoupdate.h" #include "src/net/autoupdate.h"
#include "nexus.h" #include "src/nexus.h"
#include "persistence/profile.h" #include "src/persistence/profile.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "persistence/smileypack.h" #include "src/persistence/smileypack.h"
#include "widget/form/settingswidget.h" #include "src/widget/form/settingswidget.h"
#include "widget/style.h" #include "src/widget/style.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/widget.h" #include "src/widget/widget.h"
/** /**
* @class UserInterfaceForm * @class UserInterfaceForm

View File

@ -21,7 +21,7 @@
#define USERINTERFACEFORM_H #define USERINTERFACEFORM_H
#include "genericsettings.h" #include "genericsettings.h"
#include "widget/form/settingswidget.h" #include "src/widget/form/settingswidget.h"
namespace Ui { namespace Ui {
class UserInterfaceSettings; class UserInterfaceSettings;

View File

@ -23,16 +23,16 @@
#include <QLabel> #include <QLabel>
#include <QWindow> #include <QWindow>
#include "video/camerasource.h" #include "src/video/camerasource.h"
#include "widget/widget.h" #include "src/widget/widget.h"
#include "widget/form/settings/generalform.h" #include "src/widget/form/settings/generalform.h"
#include "widget/form/settings/userinterfaceform.h" #include "src/widget/form/settings/userinterfaceform.h"
#include "widget/form/settings/privacyform.h" #include "src/widget/form/settings/privacyform.h"
#include "widget/form/settings/avform.h" #include "src/widget/form/settings/avform.h"
#include "widget/form/settings/advancedform.h" #include "src/widget/form/settings/advancedform.h"
#include "widget/form/settings/aboutform.h" #include "src/widget/form/settings/aboutform.h"
#include "widget/translator.h" #include "src/widget/translator.h"
#include "widget/contentlayout.h" #include "src/widget/contentlayout.h"
SettingsWidget::SettingsWidget(QWidget* parent) SettingsWidget::SettingsWidget(QWidget* parent)
: QWidget(parent, Qt::Window) : QWidget(parent, Qt::Window)

View File

@ -25,9 +25,9 @@
#include <QRegExp> #include <QRegExp>
#include <QKeyEvent> #include <QKeyEvent>
#include "core/core.h" #include "src/core/core.h"
#include "group.h" #include "src/group.h"
#include "widget/tool/chattextedit.h" #include "src/widget/tool/chattextedit.h"
/** /**
* @file tabcompleter.h * @file tabcompleter.h

View File

@ -25,8 +25,8 @@
#include <QString> #include <QString>
#include <QMap> #include <QMap>
#include "group.h" #include "src/group.h"
#include "widget/tool/chattextedit.h" #include "src/widget/tool/chattextedit.h"
class TabCompleter : public QObject class TabCompleter : public QObject
{ {

View File

@ -13,8 +13,8 @@
*/ */
#include "friendlistlayout.h" #include "friendlistlayout.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "friendwidget.h" #include "friendwidget.h"
#include "friendlistwidget.h" #include "friendlistwidget.h"
#include <cassert> #include <cassert>

View File

@ -16,7 +16,7 @@
#define FRIENDLISTLAYOUT_H #define FRIENDLISTLAYOUT_H
#include <QBoxLayout> #include <QBoxLayout>
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "genericchatitemlayout.h" #include "genericchatitemlayout.h"
class FriendWidget; class FriendWidget;

View File

@ -19,9 +19,9 @@
#include "friendlistwidget.h" #include "friendlistwidget.h"
#include "friendlistlayout.h" #include "friendlistlayout.h"
#include "friend.h" #include "src/friend.h"
#include "friendlist.h" #include "src/friendlist.h"
#include "persistence/settings.h" #include "src/persistence/settings.h"
#include "friendwidget.h" #include "friendwidget.h"
#include "groupwidget.h" #include "groupwidget.h"
#include "circlewidget.h" #include "circlewidget.h"

View File

@ -21,7 +21,7 @@
#define FRIENDLISTWIDGET_H #define FRIENDLISTWIDGET_H
#include <QWidget> #include <QWidget>
#include "core/corestructs.h" #include "src/core/corestructs.h"
#include "genericchatitemlayout.h" #include "genericchatitemlayout.h"
class QVBoxLayout; class QVBoxLayout;

Some files were not shown because too many files have changed in this diff Show More