mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-24 14:48:42 -04:00
cleaned include files
- removed some dependencies between other header files - removed many includes of <QtGui> and replaced it with only needed files git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ba47eedfe3
commit
569ac25843
94 changed files with 251 additions and 462 deletions
|
@ -18,14 +18,13 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
#include "AttachFileItem.h"
|
||||
|
||||
#include "rsiface/rsfiles.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _ATTACH_FILE_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_AttachFileItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
const uint32_t AFI_MASK_STATE = 0x000f;
|
||||
|
|
|
@ -18,15 +18,14 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
#include "BlogMsgItem.h"
|
||||
|
||||
#include "FeedHolder.h"
|
||||
#include "SubFileItem.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _BLOG_MSG_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_BlogMsgItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class FeedHolder;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include "BlogNewItem.h"
|
||||
#include "FeedHolder.h"
|
||||
|
@ -27,7 +26,6 @@
|
|||
|
||||
#define BLOG_DEFAULT_IMAGE ":/images/hi64-app-kblogger.png"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _BLOG_NEW_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_BlogNewItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class FeedHolder;
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QTimer>
|
||||
|
||||
#include "ChanMsgItem.h"
|
||||
|
||||
|
@ -28,7 +29,6 @@
|
|||
|
||||
#include "rsiface/rschannels.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _CHAN_MSG_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_ChanMsgItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class FeedHolder;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include "ChanNewItem.h"
|
||||
#include "FeedHolder.h"
|
||||
|
@ -27,8 +26,6 @@
|
|||
|
||||
#define CHAN_DEFAULT_IMAGE ":/images/channels.png"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _CHANNEL_NEW_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_ChanNewItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class FeedHolder;
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
#include "ForumMsgItem.h"
|
||||
#include "FeedHolder.h"
|
||||
|
@ -27,8 +28,6 @@
|
|||
#include "gui/forums/CreateForumMsg.h"
|
||||
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -26,9 +26,7 @@
|
|||
|
||||
class FeedHolder;
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class ForumMsgItem : public QWidget, private Ui::ForumMsgItem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include "ForumNewItem.h"
|
||||
#include "FeedHolder.h"
|
||||
|
@ -26,8 +25,6 @@
|
|||
#include "rsiface/rsforums.h"
|
||||
#include "gui/forums/CreateForumMsg.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _FORUM_NEW_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_ForumNewItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class FeedHolder;
|
||||
|
|
|
@ -18,20 +18,18 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QTimer>
|
||||
|
||||
#include "MsgItem.h"
|
||||
|
||||
#include "FeedHolder.h"
|
||||
#include "SubFileItem.h"
|
||||
#include "gui/msgs/MessageComposer.h"
|
||||
|
||||
#include "rsiface/rsmsgs.h"
|
||||
#include "rsiface/rspeers.h"
|
||||
|
||||
#include "gui/msgs/MessageComposer.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _MSG_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_MsgItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class FeedHolder;
|
||||
|
|
|
@ -18,20 +18,19 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QTimer>
|
||||
|
||||
#include "PeerItem.h"
|
||||
#include "FeedHolder.h"
|
||||
#include "../RsAutoUpdatePage.h"
|
||||
#include "gui/msgs/MessageComposer.h"
|
||||
|
||||
#include "rsiface/rsmsgs.h"
|
||||
#include "rsiface/rspeers.h"
|
||||
|
||||
#include "gui/msgs/MessageComposer.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <time.h>
|
||||
|
||||
/*****
|
||||
* #define DEBUG_ITEM 1
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _PEER_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_PeerItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
const uint32_t PEER_TYPE_STD = 0x0001;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include "SubDestItem.h"
|
||||
#include "FeedHolder.h"
|
||||
|
@ -27,8 +26,6 @@
|
|||
#include "rsiface/rsforums.h"
|
||||
#include "rsiface/rschannels.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
****/
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define _SUB_DEST_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_SubDestItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
class SubDestItem : public QWidget, private Ui::SubDestItem
|
||||
|
|
|
@ -18,16 +18,17 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
#include <QtGui>
|
||||
|
||||
#include <QTimer>
|
||||
#include <QMessageBox>
|
||||
#include <QFileDialog>
|
||||
#include <QDesktopServices>
|
||||
#include <QUrl>
|
||||
|
||||
#include "SubFileItem.h"
|
||||
|
||||
#include "rsiface/rsfiles.h"
|
||||
|
||||
/* hack for openFile() */
|
||||
#include "gui/MainWindow.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/****
|
||||
* #define DEBUG_ITEM 1
|
||||
|
|
|
@ -23,10 +23,7 @@
|
|||
#define _SUB_FILE_ITEM_DIALOG_H
|
||||
|
||||
#include "ui_SubFileItem.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
const uint32_t SFI_MASK_STATE = 0x000f;
|
||||
const uint32_t SFI_MASK_TYPE = 0x00f0;
|
||||
const uint32_t SFI_MASK_FT = 0x0f00;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue