Add proper header path for 'retroshare-gui/' headers

This is simplifies the include directories needed for plugins.
This commit is contained in:
drbob 2020-08-18 22:43:45 +10:00
parent 82ba488574
commit 09c7fdee4b
31 changed files with 55 additions and 33 deletions

View File

@ -19,9 +19,10 @@
*******************************************************************************/
#pragma once
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_ChatLobbyWidget.h"
#include "RsAutoUpdatePage.h"
#include "chat/ChatLobbyUserNotify.h"
#include "gui/gxs/GxsIdChooser.h"

View File

@ -20,7 +20,7 @@
#pragma once
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_BannedFilesDialog.h"
class BannedFilesDialog: public QDialog

View File

@ -24,7 +24,8 @@
#include <QWidget>
#include <QPainter>
#include <QBitmap>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include <retroshare/rstypes.h>
struct FileChunksInfo ;

View File

@ -23,7 +23,7 @@
#include <retroshare/rstypes.h>
#include "ui_SearchDialog.h"
#include "mainpage.h"
#include <retroshare-gui/mainpage.h>
class AdvancedSearchDialog;
class RSTreeWidgetItemCompareRole;

View File

@ -23,7 +23,7 @@
#include "ui_SharedFilesDialog.h"
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "gui/RetroShareLink.h"
#include "util/RsProtectedTimer.h"

View File

@ -25,7 +25,7 @@
#include <retroshare/rstypes.h>
#include <retroshare/rsevents.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_TransfersDialog.h"

View File

@ -21,9 +21,9 @@
#ifndef _GETTING_STARTED_DIALOG_H
#define _GETTING_STARTED_DIALOG_H
//#include <retroshare/rstypes.h>
#include <retroshare-gui/mainpage.h>
#include "ui_GetStartedDialog.h"
#include "mainpage.h"
#include <QTimer>

View File

@ -21,8 +21,10 @@
#ifndef _CONNECTIONSDIALOG_H
#define _CONNECTIONSDIALOG_H
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_NetworkDialog.h"
#include "RsAutoUpdatePage.h"
#include "gui/NetworkDialog/pgpid_item_model.h"
#include "gui/NetworkDialog/pgpid_item_proxy.h"

View File

@ -25,7 +25,7 @@
#include <retroshare/rstypes.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_NetworkView.h"

View File

@ -21,7 +21,7 @@
#ifndef _NEWS_FEED_DIALOG_H
#define _NEWS_FEED_DIALOG_H
#include "mainpage.h"
#include <retroshare-gui/mainpage.h>
#include "gui/feeds/FeedHolder.h"
#include "util/TokenQueue.h"

View File

@ -21,7 +21,7 @@
#ifndef _PLUGINS_PAGE_H_
#define _PLUGINS_PAGE_H_
#include "mainpage.h"
#include <retroshare-gui/mainpage.h>
#include <QGroupBox>
#include <QString>

View File

@ -20,7 +20,8 @@
#include "RemoteDirModel.h"
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "gui/common/FilesDefs.h"
#include "gui/common/GroupDefs.h"
#include "gui/common/RsCollection.h"

View File

@ -19,7 +19,8 @@
*******************************************************************************/
#include <QTimer>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
bool RsAutoUpdatePage::_locked = false ;

View File

@ -30,7 +30,8 @@
#include <retroshare/rspeers.h>
#include <retroshare/rsidentity.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "PopupDistantChatDialog.h"
#define IMAGE_RED_LED ":/icons/bullet_red_128.png"

View File

@ -25,8 +25,9 @@
#include <QWidget>
#include <QTreeView>
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "FriendListModel.h"
#include "RsAutoUpdatePage.h"
#include "retroshare/rsstatus.h"
namespace Ui {

View File

@ -32,6 +32,8 @@
#include <retroshare/rsdisc.h>
#include <retroshare/rsmsgs.h>
#include <retroshare-gui/mainpage.h>
#include "gui/help/browser/helpbrowser.h"
#include "gui/common/PeerDefs.h"
#include "gui/common/StatusDefs.h"
@ -39,7 +41,6 @@
#include "gui/notifyqt.h"
#include "gui/common/AvatarDefs.h"
#include "gui/MainWindow.h"
#include "mainpage.h"
#include "util/DateTime.h"
#include "util/misc.h"

View File

@ -32,6 +32,8 @@
#include <retroshare/rsdisc.h>
#include <retroshare/rsmsgs.h>
#include <retroshare-gui/mainpage.h>
#include "gui/help/browser/helpbrowser.h"
#include "gui/common/PeerDefs.h"
#include "gui/common/StatusDefs.h"
@ -39,7 +41,6 @@
#include "gui/notifyqt.h"
#include "gui/common/AvatarDefs.h"
#include "gui/MainWindow.h"
#include "mainpage.h"
#include "util/DateTime.h"
#include "util/misc.h"

View File

@ -21,8 +21,9 @@
#ifndef _GXSGROUPFRAMEDIALOG_H
#define _GXSGROUPFRAMEDIALOG_H
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "gui/gxs/RsGxsUpdateBroadcastPage.h"
#include "RsAutoUpdatePage.h"
#include "gui/RetroShareLink.h"
#include "gui/settings/rsharesettings.h"
#include "util/RsUserdata.h"

View File

@ -20,7 +20,7 @@
#pragma once
#include "mainpage.h"
#include <retroshare-gui/mainpage.h>
#include <retroshare/rsgxsifacetypes.h>
// This class implement a basic RS functionality which is that widgets displaying info

View File

@ -23,7 +23,8 @@
#include <QSortFilterProxyModel>
#include "mainpage.h"
#include <retroshare-gui/mainpage.h>
#include "ui_MessagesDialog.h"
#define IMAGE_MESSAGES ":/icons/png/message.png"

View File

@ -32,7 +32,7 @@
#include <retroshare/rsidentity.h>
#include <util/rsdir.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "MainWindow.h"
#include "toaster/OnlineToaster.h"

View File

@ -23,8 +23,9 @@
#include <QDialog>
#include <retroshare-gui/configpage.h>
#include <retroshare-gui/mainpage.h>
#include "ui_settingsw.h"
#include "mainpage.h"
class FloatingHelpBrowser;

View File

@ -24,7 +24,7 @@
#include <QAbstractItemDelegate>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "gui/common/RSGraphWidget.h"
#include "ui_BwCtrlWindow.h"

View File

@ -21,7 +21,8 @@
#ifndef RSDHT_WINDOW_H
#define RSDHT_WINDOW_H
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_DhtWindow.h"
class DhtWindow : public RsAutoUpdatePage/*, public Ui::DhtWindow*/ {

View File

@ -24,7 +24,8 @@
#include <retroshare/rsgrouter.h>
#include <retroshare/rstypes.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_GlobalRouterStatistics.h"
class GlobalRouterStatisticsWidget ;

View File

@ -24,7 +24,8 @@
#include <retroshare/rsidentity.h>
#include <retroshare/rstypes.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "Histogram.h"
#include "ui_GxsIdStatistics.h"

View File

@ -27,7 +27,8 @@
#include <retroshare/rstypes.h>
#include <retroshare/rsgxstrans.h>
#include "RsAutoUpdatePage.h"
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_GxsTransportStatistics.h"
#include "gui/gxs/RsGxsUpdateBroadcastPage.h"
#include "util/rstime.h"

View File

@ -22,8 +22,9 @@
#include <QPoint>
#include <retroshare/rsrtt.h>
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_RttStatistics.h"
#include "RsAutoUpdatePage.h"
#include <gui/common/RSGraphWidget.h>
class RttStatisticsWidget ;

View File

@ -22,9 +22,11 @@
#include <retroshare/rsturtle.h>
#include <retroshare/rstypes.h>
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_TurtleRouterDialog.h"
#include "ui_TurtleRouterStatistics.h"
#include "RsAutoUpdatePage.h"
class TurtleRouterDialog: public RsAutoUpdatePage, public Ui::TurtleRouterDialogForm

View File

@ -23,8 +23,10 @@
#include <QPoint>
#include <retroshare/rsturtle.h>
#include <retroshare/rstypes.h>
#include <retroshare-gui/RsAutoUpdatePage.h>
#include "ui_TurtleRouterStatistics.h"
#include "RsAutoUpdatePage.h"
class TurtleRouterStatisticsWidget ;

View File

@ -25,8 +25,8 @@ CONFIG += console
TARGET = retroshare
DEFINES += TARGET=\\\"$${TARGET}\\\"
DEPENDPATH *= $${PWD} $${RS_INCLUDE_DIR} retroshare-gui
INCLUDEPATH *= $${PWD} retroshare-gui
DEPENDPATH *= $${PWD} $${RS_INCLUDE_DIR}
INCLUDEPATH *= $${PWD}
!include("../../libretroshare/src/use_libretroshare.pri"):error("Including")