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:
thunder2 2010-07-23 18:52:58 +00:00
parent ba47eedfe3
commit 569ac25843
94 changed files with 251 additions and 462 deletions

View file

@ -18,17 +18,18 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
****************************************************************/
#include <QtGui>
#include <QDragEnterEvent>
#include <QUrl>
#include <QFileDialog>
#include <QTimer>
#include <QMessageBox>
#include <QBuffer>
#include "CreateChannelMsg.h"
#include "gui/feeds/SubFileItem.h"
#include "rsiface/rstypes.h"
#include "rsiface/rspeers.h"
#include "rsiface/rsforums.h"
#include "rsiface/rschannels.h"
#include "rsiface/rsmsgs.h"
#include "rsiface/rsfiles.h"
#include <iostream>
@ -446,7 +447,7 @@ void CreateChannelMsg::sendMessage(std::wstring subject, std::wstring msg, std::
if(name.isEmpty())
{ /* error message */
int ret = QMessageBox::warning(this, tr("RetroShare"),
QMessageBox::warning(this, tr("RetroShare"),
tr("Please add a Subject"),
QMessageBox::Ok, QMessageBox::Ok);