AiMainWindow::~AiMainWindow (  ) 

destructor

Definition at line 1316 of file aimainwindow.cpp.

01317 {
01318     try
01319     {
01320         //~ stop and clean threas before destroy a main window ;) oupss memory
01321         for( int index = 0 ; index < m_threads.size() ; index++ )
01322         {
01323             m_threads[ index ]->stop();
01324             m_threads[ index ]->wait();
01325             delete m_threads[ index ];
01326         }
01327 
01328     }
01329     catch(const std::exception & exception )
01330     {
01331         QMessageBox::critical(this, tr("Critical Error!"), tr("Please report this problem to adrabi[at]gmail[dot]com =)."));
01332     }
01333 
01334     if( m_config != NULL )
01335     {
01336         delete m_config;
01337     }
01338     if( m_menuBar != NULL )
01339     {
01340         delete m_menuBar;
01341     }
01342     if( m_statusbar != NULL )
01343     {
01344         delete m_statusbar;
01345     }
01346     if( m_toolbar != NULL )
01347     {
01348         delete m_toolbar;
01349     }
01350     if( m_view != NULL )
01351     {
01352         delete m_view;
01353     }
01354     if( m_undoDialog != NULL )
01355     {
01356         delete m_undoDialog;
01357     }
01358 }

 All Classes Namespaces Files Functions Variables Typedefs

Generated on Sat Feb 27 08:33:16 2010 for AiFractals by  doxygen 1.6.1