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

refactor: Move friend and group in model directory

This commit is contained in:
Diadlo 2017-07-29 20:39:14 +03:00
parent 7f3887f67c
commit 017653470d
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
27 changed files with 45 additions and 45 deletions

View File

@ -243,18 +243,18 @@ set(${PROJECT_NAME}_SOURCES
src/core/toxpk.h
src/core/toxstring.cpp
src/core/toxstring.h
src/friend.cpp
src/friend.h
src/friendlist.cpp
src/friendlist.h
src/group.cpp
src/group.h
src/groupinvite.cpp
src/groupinvite.h
src/grouplist.cpp
src/grouplist.h
src/ipc.cpp
src/ipc.h
src/model/friend.cpp
src/model/friend.h
src/model/group.cpp
src/model/group.h
src/net/autoupdate.cpp
src/net/autoupdate.h
src/net/avatarbroadcaster.cpp

View File

@ -365,12 +365,12 @@ HEADERS += \
src/core/toxid.h \
src/core/toxpk.h \
src/core/toxstring.h \
src/friend.h \
src/friendlist.h \
src/group.h \
src/groupinvite.h \
src/grouplist.h \
src/ipc.h \
src/model/friend.h \
src/model/group.h \
src/net/autoupdate.h \
src/net/avatarbroadcaster.h \
src/net/toxme.h \
@ -486,13 +486,13 @@ SOURCES += \
src/core/toxid.cpp \
src/core/toxpk.cpp \
src/core/toxstring.cpp \
src/friend.cpp \
src/friendlist.cpp \
src/group.cpp \
src/groupinvite.cpp \
src/grouplist.cpp \
src/ipc.cpp \
src/main.cpp \
src/model/friend.cpp \
src/model/group.cpp \
src/net/autoupdate.cpp \
src/net/avatarbroadcaster.cpp \
src/net/toxme.cpp \

View File

@ -21,8 +21,8 @@
#include "core.h"
#include "coreav.h"
#include "src/audio/audio.h"
#include "src/friend.h"
#include "src/group.h"
#include "src/model/friend.h"
#include "src/model/group.h"
#include "src/persistence/settings.h"
#include "src/video/corevideosource.h"
#include "src/video/videoframe.h"

View File

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

View File

@ -18,7 +18,7 @@
*/
#include "grouplist.h"
#include "group.h"
#include "src/model/group.h"
#include <QDebug>
#include <QHash>

View File

@ -20,7 +20,7 @@
#include "friend.h"
#include "src/core/core.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/grouplist.h"
#include "src/nexus.h"
#include "src/persistence/profile.h"

View File

@ -1,5 +1,5 @@
/*
Copyright © 2014-2015 by The qTox Project Contributors
Copyright © 2014-2017 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
@ -20,7 +20,7 @@
#ifndef FRIEND_H
#define FRIEND_H
#include "core/toxid.h"
#include "src/core/toxid.h"
#include "src/core/corestructs.h"
#include <QObject>
#include <QString>

View File

@ -1,5 +1,5 @@
/*
Copyright © 2014-2015 by The qTox Project Contributors
Copyright © 2014-2017 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
@ -19,12 +19,12 @@
#include "group.h"
#include "friend.h"
#include "friendlist.h"
#include "src/friendlist.h"
#include "src/core/core.h"
#include "src/persistence/settings.h"
#include "widget/form/groupchatform.h"
#include "widget/groupwidget.h"
#include "widget/gui.h"
#include "src/widget/form/groupchatform.h"
#include "src/widget/groupwidget.h"
#include "src/widget/gui.h"
#include <QDebug>
#include <QTimer>

View File

@ -1,5 +1,5 @@
/*
Copyright © 2014-2015 by The qTox Project Contributors
Copyright © 2014-2017 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.

View File

@ -19,7 +19,7 @@
#include "offlinemsgengine.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/nexus.h"
#include "src/persistence/profile.h"
#include "src/persistence/settings.h"

View File

@ -20,7 +20,7 @@
#include "groupnetcamview.h"
#include "src/audio/audio.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/nexus.h"
#include "src/persistence/profile.h"

View File

@ -20,7 +20,7 @@
#include "netcamview.h"
#include "camerasource.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/nexus.h"
#include "src/persistence/profile.h"

View File

@ -19,7 +19,7 @@
#include "videosurface.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/persistence/settings.h"
#include "src/video/videoframe.h"

View File

@ -1,7 +1,7 @@
#ifndef ABOUTUSER_H
#define ABOUTUSER_H
#include "src/friend.h"
#include "src/model/friend.h"
#include <QDialog>

View File

@ -33,7 +33,7 @@
#include "widget.h"
#include "tool/croppinglabel.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/persistence/settings.h"

View File

@ -33,9 +33,9 @@
#include "style.h"
#include "widget.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/grouplist.h"
#include "src/persistence/settings.h"
#include "src/widget/form/chatform.h"

View File

@ -27,7 +27,7 @@
#include "src/chatlog/content/text.h"
#include "src/core/core.h"
#include "src/core/coreav.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/nexus.h"
#include "src/persistence/offlinemsgengine.h"
#include "src/persistence/profile.h"

View File

@ -22,9 +22,9 @@
#include "src/chatlog/chatlog.h"
#include "src/chatlog/content/timestamp.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/grouplist.h"
#include "src/persistence/settings.h"
#include "src/persistence/smileypack.h"

View File

@ -27,9 +27,9 @@
#include "tabcompleter.h"
#include "src/core/core.h"
#include "src/core/coreav.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/video/groupnetcamview.h"
#include "src/widget/flowlayout.h"
#include "src/widget/form/chatform.h"

View File

@ -26,7 +26,7 @@
#include <QRegExp>
#include "src/core/core.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/widget/tool/chattextedit.h"
/**

View File

@ -23,7 +23,7 @@
#ifndef TABCOMPLETER_H
#define TABCOMPLETER_H
#include "src/group.h"
#include "src/model/group.h"
#include "src/widget/tool/chattextedit.h"
#include <QMap>
#include <QString>

View File

@ -15,7 +15,7 @@
#include "friendlistlayout.h"
#include "friendlistwidget.h"
#include "friendwidget.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include <cassert>

View File

@ -23,7 +23,7 @@
#include "friendwidget.h"
#include "groupwidget.h"
#include "widget.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/persistence/settings.h"
#include <QDragEnterEvent>

View File

@ -24,9 +24,9 @@
#include "maskablepixmapwidget.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/grouplist.h"
#include "src/persistence/settings.h"
#include "src/widget/about/aboutuser.h"

View File

@ -31,9 +31,9 @@
#include "maskablepixmapwidget.h"
#include "form/groupchatform.h"
#include "src/core/core.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/grouplist.h"
#include "src/widget/friendwidget.h"
#include "src/widget/style.h"

View File

@ -3,7 +3,7 @@
#include "ui_removefrienddialog.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include <QDialog>

View File

@ -51,9 +51,9 @@
#include "src/audio/audio.h"
#include "src/core/core.h"
#include "src/core/coreav.h"
#include "src/friend.h"
#include "src/model/friend.h"
#include "src/friendlist.h"
#include "src/group.h"
#include "src/model/group.h"
#include "src/grouplist.h"
#include "src/net/autoupdate.h"
#include "src/nexus.h"