* Move plugin Demo to ApplicationWindow

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-02-02 12:07:07 +00:00
parent cdc3a65165
commit 8d38e51536
9 changed files with 54 additions and 310 deletions

View file

@ -17,17 +17,18 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
****************************************************************/
#include "rshare.h"
#include "LibraryDialog.h"
****************************************************************/
#include "rshare.h"
#include "LibraryDialog.h"
#include "rsiface/rsiface.h"
#include "rsiface/rspeers.h"
#include "rsiface/rsfiles.h"
#include "rsiface/RemoteDirModel.h"
#include "ShareFilesDialog.h"
#include "ShareManager.h"
#include "util/RsAction.h"
#include "msgs/ChanMsgDialog.h"
@ -50,7 +51,7 @@
/* Images for context menu icons */
#define IMAGE_DOWNLOAD ":/images/download16.png"
#define IMAGE_PLAY ":/images/start.png"
#define IMAGE_PLAY ":/images/start.png"
#define IMAGE_HASH_BUSY ":/images/settings.png"
#define IMAGE_HASH_DONE ":/images/friendsfolder24.png"
#define IMAGE_MSG ":/images/message-mail.png"
@ -61,12 +62,12 @@
QString fileToFind;
/** Constructor */
LibraryDialog::LibraryDialog(QWidget *parent)
: MainPage(parent)
{
/* Invoke the Qt Designer generated object setup routine */
/** Constructor */
LibraryDialog::LibraryDialog(QWidget *parent)
: MainPage(parent)
{
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
@ -88,11 +89,11 @@ LibraryDialog::LibraryDialog(QWidget *parent)
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));
timer->start(1000);
/* Hide platform specific features */
#ifdef Q_WS_WIN
#endif
}
/* Hide platform specific features */
#ifdef Q_WS_WIN
#endif
}
void LibraryDialog::PopulateList()
@ -188,8 +189,9 @@ void LibraryDialog::StopRename()
void LibraryDialog::CallShareFilesBtn_library()
{
ShareFilesDialog *sf=new ShareFilesDialog(this,0);
sf->show();
static ShareManager* sharemanager = new ShareManager(this);
sharemanager->show();
}
void LibraryDialog::CallTileViewBtn_library()