diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-05-05 13:46:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-05-05 15:51:11 +0200 |
commit | 8fca0c44e8f21fa2ee1000665856292d5a1c44e9 (patch) | |
tree | e750236facc3fd44b051a70aaa0e81be0fc2c002 /dbaccess | |
parent | f24590521c5ffea13c0aecdb2f30fdd39bbfbc45 (diff) |
vcl: rename other members of StateChangedType for consistency
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/dataview.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/control/dbtreelistbox.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/indexdialog.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinTableView.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindow.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowTitle.cxx | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx index d959262953d8..ee1e5e128e8e 100644 --- a/dbaccess/source/ui/browser/dataview.cxx +++ b/dbaccess/source/ui/browser/dataview.cxx @@ -151,13 +151,13 @@ namespace dbaui { Window::StateChanged( nType ); - if ( nType == StateChangedType::CONTROLBACKGROUND ) + if ( nType == StateChangedType::ControlBackground ) { // Check if we need to get new images for normal/high contrast mode m_xController->notifyHiContrastChanged(); } - if ( nType == StateChangedType::INITSHOW ) + if ( nType == StateChangedType::InitShow ) { // now that there's a view which is finally visible, remove the "Hidden" value from the // model's arguments. diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 6ecacbc76a19..2780a9c024c4 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -668,7 +668,7 @@ IMPL_LINK_NOARG_TYPED(DBTreeListBox, OnTimeOut, Timer*, void) void DBTreeListBox::StateChanged( StateChangedType nStateChange ) { - if ( nStateChange == StateChangedType::VISIBLE ) + if ( nStateChange == StateChangedType::Visible ) implStopSelectionTimer(); } diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx index a033fab3b3bf..bfb41ce1da4c 100644 --- a/dbaccess/source/ui/dlg/indexdialog.cxx +++ b/dbaccess/source/ui/dlg/indexdialog.cxx @@ -817,12 +817,12 @@ namespace dbaui { ModalDialog::StateChanged( nType ); - if ( nType == StateChangedType::CONTROLBACKGROUND ) + if ( nType == StateChangedType::ControlBackground ) { // Check if we need to get new images for normal/high contrast mode checkImageList(); } - else if ( nType == StateChangedType::TEXT ) + else if ( nType == StateChangedType::Text ) { // The physical toolbar changed its outlook and shows another logical toolbar! // We have to set the correct high contrast mode on the new tbx manager. diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index ba53a2ac3881..b8e31e998163 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -120,7 +120,7 @@ namespace dbaui { OGenericAdministrationPage::StateChanged( nType ); - if ( nType == StateChangedType::CONTROLBACKGROUND ) + if ( nType == StateChangedType::ControlBackground ) { // Check if we need to get new images for normal/high contrast mode m_pTablesList->notifyHiContrastChanged(); diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 470238267dad..bcd5d47458d2 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -1462,7 +1462,7 @@ void OJoinTableView::StateChanged( StateChangedType nType ) { Window::StateChanged( nType ); - if ( nType == StateChangedType::ZOOM ) + if ( nType == StateChangedType::Zoom ) { const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index de29020efbce..31697a39ae00 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -556,7 +556,7 @@ void OTableWindow::StateChanged( StateChangedType nType ) { Window::StateChanged( nType ); - if ( nType == StateChangedType::ZOOM ) + if ( nType == StateChangedType::Zoom ) { const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx index f1f3149862f0..0c5ca6a9064e 100644 --- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx @@ -178,7 +178,7 @@ void OTableWindowTitle::StateChanged( StateChangedType nType ) { Window::StateChanged( nType ); - if ( nType == StateChangedType::ZOOM ) + if ( nType == StateChangedType::Zoom ) { const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); |