mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 13:45:11 -05:00
added Destructor's
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
805eecd7bd
commit
aa0d56f67f
@ -46,6 +46,13 @@ ProfileWidget::ProfileWidget(QWidget *parent, Qt::WFlags flags)
|
|||||||
loadDialog();
|
loadDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Destructor. */
|
||||||
|
ProfileWidget::~ProfileWidget()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void ProfileWidget::closeEvent (QCloseEvent * event)
|
void ProfileWidget::closeEvent (QCloseEvent * event)
|
||||||
{
|
{
|
||||||
QWidget::closeEvent(event);
|
QWidget::closeEvent(event);
|
||||||
|
@ -35,6 +35,7 @@ class ProfileWidget : public QWidget
|
|||||||
/** Default constructor */
|
/** Default constructor */
|
||||||
ProfileWidget(QWidget *parent = 0, Qt::WFlags flags = 0);
|
ProfileWidget(QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||||
/** Default destructor */
|
/** Default destructor */
|
||||||
|
~ProfileWidget();
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -49,6 +49,13 @@ StatusMessage::StatusMessage(QWidget *parent, Qt::WFlags flags)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Destructor. */
|
||||||
|
StatusMessage::~StatusMessage()
|
||||||
|
{
|
||||||
|
delete _settings;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void StatusMessage::closeEvent (QCloseEvent * event)
|
void StatusMessage::closeEvent (QCloseEvent * event)
|
||||||
{
|
{
|
||||||
QDialog::closeEvent(event);
|
QDialog::closeEvent(event);
|
||||||
|
@ -37,7 +37,7 @@ class StatusMessage : public QDialog
|
|||||||
/** Default constructor */
|
/** Default constructor */
|
||||||
StatusMessage(QWidget *parent = 0, Qt::WFlags flags = 0);
|
StatusMessage(QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||||
/** Default destructor */
|
/** Default destructor */
|
||||||
|
~StatusMessage();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void closeEvent (QCloseEvent * event);
|
void closeEvent (QCloseEvent * event);
|
||||||
|
Loading…
Reference in New Issue
Block a user