Fixed umlauts (utf8) in Windows. Changed some parameters to reference pointer. Added virtual folders to the lib.

Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-09-17 18:27:30 +00:00
parent dccfbf20b0
commit ed737e2c9f
21 changed files with 892 additions and 914 deletions

View file

@ -30,53 +30,43 @@
class ShareManager : public QDialog
{
Q_OBJECT
Q_OBJECT
public:
static void showYourself() ;
static void postModDirectories(bool update_local);
public:
static void showYourself() ;
static void postModDirectories(bool update_local);
private:
/** Default constructor */
ShareManager( QWidget *parent = 0, Qt::WFlags flags = 0);
/** Default destructor */
~ShareManager();
/** Loads the settings for this page */
void load();
bool messageBoxOk(QString);
public slots:
void showShareDialog();
/** Default constructor */
ShareManager( QWidget *parent = 0, Qt::WFlags flags = 0);
/** Default destructor */
~ShareManager();
/** Loads the settings for this page */
void load();
protected:
virtual void showEvent(QShowEvent * event);
virtual void showEvent(QShowEvent * event);
private slots:
/** Create the context popup menu and it's submenus */
void shareddirListCostumPopupMenu( QPoint point );
/** Create the context popup menu and it's submenus */
void shareddirListCostumPopupMenu( QPoint point );
void addShareDirectory();
void removeShareDirectory();
void updateFlags(bool);
void showShareDialog();
void removeShareDirectory();
void updateFlags(bool);
private:
static ShareManager *_instance;
bool isLoading;
static ShareManager *_instance;
bool isLoading;
/** Define the popup menus for the Context menu */
QMenu* contextMnu;
/** Define the popup menus for the Context menu */
QMenu* contextMnu;
/** Defines the actions for the context menu */
QAction* removeAct;
QAction* removeAct;
/** Qt Designer generated object */
Ui::ShareManager ui;
/** Qt Designer generated object */
Ui::ShareManager ui;
};
#endif