Commit 24d1201f authored by Stéphane Albert's avatar Stéphane Albert

ENH: Renamed mvd::MainWindow into mvd::MaplaMainWindow in mvdMaplaMainWindow.* files.

parent 9bf2e486
......@@ -67,18 +67,18 @@ class ApplicationsToolBoxController;
namespace Ui
{
class MainWindow;
class MaplaMainWindow;
}
/*****************************************************************************/
/* CLASS DEFINITION SECTION */
/**
* \class MainWindow
* \class MaplaMainWindow
*
* \brief The application main-widow widget.
*/
class Monteverdi_EXPORT MainWindow
class Monteverdi_EXPORT MaplaMainWindow
: public I18nMainWindow
{
......@@ -96,10 +96,10 @@ public:
// Public methods.
public:
/** \brief Constructor. */
MainWindow( QWidget* Parent =0, Qt::WindowFlags flags =0 );
MaplaMainWindow( QWidget* Parent =0, Qt::WindowFlags flags =0 );
/** \brief Destructor. */
virtual ~MainWindow();
virtual ~MaplaMainWindow();
/*-[ SIGNALS SECTION ]-----------------------------------------------------*/
......@@ -183,7 +183,7 @@ private:
/**
* \brief uic generated.
*/
Ui::MainWindow* m_UI;
Ui::MaplaMainWindow* m_UI;
#ifdef OTB_USE_QT4
/**
......
......@@ -79,10 +79,10 @@ namespace mvd
/* CLASS IMPLEMENTATION SECTION */
/*****************************************************************************/
MainWindow
::MainWindow( QWidget* parent, Qt::WindowFlags flags ) :
MaplaMainWindow
::MaplaMainWindow( QWidget* parent, Qt::WindowFlags flags ) :
I18nMainWindow( parent, flags ),
m_UI( new mvd::Ui::MainWindow() )
m_UI( new mvd::Ui::MaplaMainWindow() )
#ifdef OTB_USE_QT4
,
m_ApplicationsToolBoxController( NULL )
......@@ -92,8 +92,8 @@ MainWindow
}
/*****************************************************************************/
MainWindow
::~MainWindow()
MaplaMainWindow
::~MaplaMainWindow()
{
delete m_UI;
m_UI = NULL;
......@@ -101,7 +101,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::virtual_SetupUI()
{
setObjectName( "Mapla" );
......@@ -140,7 +140,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::virtual_ConnectUI()
{
//
......@@ -160,7 +160,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::closeEvent( QCloseEvent* event )
{
assert( Application::Instance() );
......@@ -178,7 +178,7 @@ MainWindow
/* SLOTS */
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::on_action_Preferences_triggered()
{
#if 0
......@@ -190,7 +190,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::OnAboutToChangeModel( const AbstractModel * )
{
// qDebug() << this << "::OnAboutToChangeModel(" << model << ")";
......@@ -200,7 +200,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::OnModelChanged( AbstractModel* model )
{
// qDebug() << this << "::OnModelChanged(" << model << ")";
......@@ -210,7 +210,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::OnApplicationToLaunchSelected( const QString & appName,
const QString & )
{
......@@ -243,7 +243,7 @@ MainWindow
/*****************************************************************************/
void
MainWindow
MaplaMainWindow
::OnExecutionDone( int status )
{
if( status<0 )
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>mvd::MainWindow</class>
<widget class="QMainWindow" name="mvd::MainWindow">
<class>mvd::MaplaMainWindow</class>
<widget class="QMainWindow" name="mvd::MaplaMainWindow">
<property name="geometry">
<rect>
<x>0</x>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment