mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(core): rename corestructs to toxfile.cpp
It only contains this struct now.
This commit is contained in:
parent
cac25b4477
commit
1dce8f6468
|
@ -231,8 +231,6 @@ set(${PROJECT_NAME}_SOURCES
|
||||||
src/core/corefile.cpp
|
src/core/corefile.cpp
|
||||||
src/core/corefile.h
|
src/core/corefile.h
|
||||||
src/core/core.h
|
src/core/core.h
|
||||||
src/core/corestructs.cpp
|
|
||||||
src/core/corestructs.h
|
|
||||||
src/core/dhtserver.cpp
|
src/core/dhtserver.cpp
|
||||||
src/core/dhtserver.h
|
src/core/dhtserver.h
|
||||||
src/core/icoresettings.h
|
src/core/icoresettings.h
|
||||||
|
@ -242,6 +240,8 @@ set(${PROJECT_NAME}_SOURCES
|
||||||
src/core/toxcall.h
|
src/core/toxcall.h
|
||||||
src/core/toxencrypt.cpp
|
src/core/toxencrypt.cpp
|
||||||
src/core/toxencrypt.h
|
src/core/toxencrypt.h
|
||||||
|
src/core/toxfile.cpp
|
||||||
|
src/core/toxfile.h
|
||||||
src/core/toxid.cpp
|
src/core/toxid.cpp
|
||||||
src/core/toxid.h
|
src/core/toxid.h
|
||||||
src/core/toxpk.cpp
|
src/core/toxpk.cpp
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define CHATMESSAGE_H
|
#define CHATMESSAGE_H
|
||||||
|
|
||||||
#include "chatline.h"
|
#include "chatline.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/toxfile.h"
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
|
|
||||||
class QGraphicsScene;
|
class QGraphicsScene;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "src/chatlog/chatlinecontent.h"
|
#include "src/chatlog/chatlinecontent.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/toxfile.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CORE_HPP
|
#ifndef CORE_HPP
|
||||||
#define CORE_HPP
|
#define CORE_HPP
|
||||||
|
|
||||||
#include "corestructs.h"
|
#include "toxfile.h"
|
||||||
#include "toxid.h"
|
#include "toxid.h"
|
||||||
|
|
||||||
#include <tox/tox.h>
|
#include <tox/tox.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
#include "corefile.h"
|
#include "corefile.h"
|
||||||
#include "corestructs.h"
|
#include "toxfile.h"
|
||||||
#include "src/persistence/profile.h"
|
#include "src/persistence/profile.h"
|
||||||
#include "src/persistence/settings.h"
|
#include "src/persistence/settings.h"
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <tox/tox.h>
|
#include <tox/tox.h>
|
||||||
|
|
||||||
#include "corestructs.h"
|
#include "toxfile.h"
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/toxfile.h"
|
||||||
#include "src/core/core.h"
|
#include "src/core/core.h"
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
|
@ -21,8 +21,8 @@
|
||||||
#define FRIEND_H
|
#define FRIEND_H
|
||||||
|
|
||||||
#include "contact.h"
|
#include "contact.h"
|
||||||
|
#include "src/core/core.h"
|
||||||
#include "src/core/toxid.h"
|
#include "src/core/toxid.h"
|
||||||
#include "src/core/corestructs.h"
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "src/core/core.h"
|
#include "src/core/core.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/corefile.h"
|
||||||
#include "src/nexus.h"
|
#include "src/nexus.h"
|
||||||
#include "src/persistence/profile.h"
|
#include "src/persistence/profile.h"
|
||||||
#include "src/persistence/profilelocker.h"
|
#include "src/persistence/profilelocker.h"
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
#ifndef SETTINGS_HPP
|
#ifndef SETTINGS_HPP
|
||||||
#define SETTINGS_HPP
|
#define SETTINGS_HPP
|
||||||
|
|
||||||
#include "src/core/corestructs.h"
|
|
||||||
#include "src/core/icoresettings.h"
|
#include "src/core/icoresettings.h"
|
||||||
#include "src/core/toxencrypt.h"
|
#include "src/core/toxencrypt.h"
|
||||||
|
#include "src/core/toxfile.h"
|
||||||
|
|
||||||
#include <QDate>
|
#include <QDate>
|
||||||
#include <QFlags>
|
#include <QFlags>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define CATEGORYWIDGET_H
|
#define CATEGORYWIDGET_H
|
||||||
|
|
||||||
#include "genericchatitemwidget.h"
|
#include "genericchatitemwidget.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/core.h"
|
||||||
|
|
||||||
class FriendListLayout;
|
class FriendListLayout;
|
||||||
class FriendListWidget;
|
class FriendListWidget;
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|
||||||
#include "src/core/corestructs.h"
|
|
||||||
#include "src/widget/genericchatitemlayout.h"
|
#include "src/widget/genericchatitemlayout.h"
|
||||||
#include "src/widget/tool/activatedialog.h"
|
#include "src/widget/tool/activatedialog.h"
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include "genericchatform.h"
|
#include "genericchatform.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/core.h"
|
||||||
#include "src/persistence/history.h"
|
#include "src/persistence/history.h"
|
||||||
#include "src/widget/tool/screenshotgrabber.h"
|
#include "src/widget/tool/screenshotgrabber.h"
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#define FRIENDLISTLAYOUT_H
|
#define FRIENDLISTLAYOUT_H
|
||||||
|
|
||||||
#include "genericchatitemlayout.h"
|
#include "genericchatitemlayout.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/core.h"
|
||||||
#include <QBoxLayout>
|
#include <QBoxLayout>
|
||||||
|
|
||||||
class FriendWidget;
|
class FriendWidget;
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define FRIENDLISTWIDGET_H
|
#define FRIENDLISTWIDGET_H
|
||||||
|
|
||||||
#include "genericchatitemlayout.h"
|
#include "genericchatitemlayout.h"
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/core.h"
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
class QVBoxLayout;
|
class QVBoxLayout;
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
|
|
||||||
#include "genericchatitemwidget.h"
|
#include "genericchatitemwidget.h"
|
||||||
|
|
||||||
#include "src/core/corestructs.h"
|
#include "src/core/core.h"
|
||||||
|
#include "src/core/toxfile.h"
|
||||||
#include "src/core/toxid.h"
|
#include "src/core/toxid.h"
|
||||||
|
|
||||||
#define PIXELS_TO_ACT 7
|
#define PIXELS_TO_ACT 7
|
||||||
|
|
Loading…
Reference in New Issue
Block a user