summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/inc')
-rw-r--r--dbaccess/source/ui/inc/ConnectionLine.hxx2
-rw-r--r--dbaccess/source/ui/inc/FieldDescControl.hxx6
-rw-r--r--dbaccess/source/ui/inc/JoinTableView.hxx2
-rw-r--r--dbaccess/source/ui/inc/QueryDesignView.hxx6
-rw-r--r--dbaccess/source/ui/inc/QueryTextView.hxx4
-rw-r--r--dbaccess/source/ui/inc/QueryViewSwitch.hxx6
-rw-r--r--dbaccess/source/ui/inc/TableController.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableDesignControl.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableWindow.hxx2
-rw-r--r--dbaccess/source/ui/inc/TokenWriter.hxx2
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx2
-rw-r--r--dbaccess/source/ui/inc/brwview.hxx2
-rw-r--r--dbaccess/source/ui/inc/dlgsize.hxx2
-rw-r--r--dbaccess/source/ui/inc/opendoccontrols.hxx2
-rw-r--r--dbaccess/source/ui/inc/querycontainerwindow.hxx6
-rw-r--r--dbaccess/source/ui/inc/sqledit.hxx2
-rw-r--r--dbaccess/source/ui/inc/tabletree.hxx4
17 files changed, 27 insertions, 27 deletions
diff --git a/dbaccess/source/ui/inc/ConnectionLine.hxx b/dbaccess/source/ui/inc/ConnectionLine.hxx
index fffbcc79b02c..89dd1dff21e0 100644
--- a/dbaccess/source/ui/inc/ConnectionLine.hxx
+++ b/dbaccess/source/ui/inc/ConnectionLine.hxx
@@ -52,7 +52,7 @@ namespace dbaui
OConnectionLine& operator=( const OConnectionLine& rLine );
- tools::Rectangle GetBoundingRect();
+ tools::Rectangle GetBoundingRect() const;
bool RecalcLine();
void Draw( OutputDevice* pOutDev );
bool CheckHit( const Point& rMousePos ) const;
diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx
index 6a19023468fe..e24670609ef9 100644
--- a/dbaccess/source/ui/inc/FieldDescControl.hxx
+++ b/dbaccess/source/ui/inc/FieldDescControl.hxx
@@ -186,9 +186,9 @@ namespace dbaui
// when resize is called
void CheckScrollBars();
- bool isCutAllowed();
- bool isCopyAllowed();
- bool isPasteAllowed();
+ bool isCutAllowed() const;
+ bool isCopyAllowed() const;
+ bool isPasteAllowed() const;
void cut();
void copy();
diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx
index 16723812dd49..c1b592074728 100644
--- a/dbaccess/source/ui/inc/JoinTableView.hxx
+++ b/dbaccess/source/ui/inc/JoinTableView.hxx
@@ -164,7 +164,7 @@ namespace dbaui
void addConnection(OTableConnection* _pConnection,bool _bAddData = true);
bool ScrollPane( long nDelta, bool bHoriz, bool bPaintScrollBars );
- sal_uLong GetTabWinCount();
+ sal_uLong GetTabWinCount() const;
const Point& GetScrollOffset() const { return m_aScrollOffset; }
OJoinDesignView* getDesignView() const { return m_pView; }
diff --git a/dbaccess/source/ui/inc/QueryDesignView.hxx b/dbaccess/source/ui/inc/QueryDesignView.hxx
index 661f2bb722a1..fefd6cc9d311 100644
--- a/dbaccess/source/ui/inc/QueryDesignView.hxx
+++ b/dbaccess/source/ui/inc/QueryDesignView.hxx
@@ -77,9 +77,9 @@ namespace dbaui
virtual ~OQueryDesignView() override;
virtual void dispose() override;
- bool isCutAllowed();
- bool isPasteAllowed();
- bool isCopyAllowed();
+ bool isCutAllowed() const;
+ bool isPasteAllowed() const;
+ bool isCopyAllowed() const;
void copy();
void cut();
void paste();
diff --git a/dbaccess/source/ui/inc/QueryTextView.hxx b/dbaccess/source/ui/inc/QueryTextView.hxx
index 0179c4d76ae6..c41a7cea7bc9 100644
--- a/dbaccess/source/ui/inc/QueryTextView.hxx
+++ b/dbaccess/source/ui/inc/QueryTextView.hxx
@@ -35,7 +35,7 @@ namespace dbaui
virtual void GetFocus() override;
- bool isCutAllowed();
+ bool isCutAllowed() const;
void copy();
void cut();
void paste();
@@ -43,7 +43,7 @@ namespace dbaui
void clear();
// set the statement for representation
void setStatement(const OUString& _rsStatement);
- OUString getStatement();
+ OUString getStatement() const;
// allow access to our edit
OSqlEdit* getSqlEdit() const { return m_pEdit; }
diff --git a/dbaccess/source/ui/inc/QueryViewSwitch.hxx b/dbaccess/source/ui/inc/QueryViewSwitch.hxx
index 23d207c2f227..85862c736ba0 100644
--- a/dbaccess/source/ui/inc/QueryViewSwitch.hxx
+++ b/dbaccess/source/ui/inc/QueryViewSwitch.hxx
@@ -43,9 +43,9 @@ namespace dbaui
OQueryViewSwitch(OQueryContainerWindow* pParent, OQueryController& _rController,const css::uno::Reference< css::uno::XComponentContext >& );
~OQueryViewSwitch();
- bool isCutAllowed();
- bool isPasteAllowed();
- bool isCopyAllowed();
+ bool isCutAllowed() const;
+ bool isPasteAllowed() const;
+ bool isCopyAllowed() const;
void copy();
void cut();
void paste();
diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx
index e6ab7c5ee3a8..81963c622e7f 100644
--- a/dbaccess/source/ui/inc/TableController.hxx
+++ b/dbaccess/source/ui/inc/TableController.hxx
@@ -85,7 +85,7 @@ namespace dbaui
public:
OTableController(const css::uno::Reference< css::uno::XComponentContext >& _rM);
- const css::uno::Reference< css::beans::XPropertySet >& getTable() { return m_xTable;}
+ const css::uno::Reference< css::beans::XPropertySet >& getTable() const { return m_xTable;}
bool isAddAllowed() const;
bool isDropAllowed() const;
diff --git a/dbaccess/source/ui/inc/TableDesignControl.hxx b/dbaccess/source/ui/inc/TableDesignControl.hxx
index 46d356531a16..8aab2d345655 100644
--- a/dbaccess/source/ui/inc/TableDesignControl.hxx
+++ b/dbaccess/source/ui/inc/TableDesignControl.hxx
@@ -50,7 +50,7 @@ namespace dbaui
virtual OTableDesignView* GetView() const = 0;
- sal_uInt16 GetCurUndoActId(){ return m_nCurUndoActId; }
+ sal_uInt16 GetCurUndoActId() const { return m_nCurUndoActId; }
// IClipboardTest
virtual void cut() override;
diff --git a/dbaccess/source/ui/inc/TableWindow.hxx b/dbaccess/source/ui/inc/TableWindow.hxx
index 879ab4beae8e..e356a5a265f7 100644
--- a/dbaccess/source/ui/inc/TableWindow.hxx
+++ b/dbaccess/source/ui/inc/TableWindow.hxx
@@ -151,7 +151,7 @@ namespace dbaui
OUString const & GetComposedName() const { return m_pData->GetComposedName(); }
const VclPtr<OTableWindowListBox>& GetListBox() const { return m_xListBox; }
const TTableWindowData::value_type& GetData() const { return m_pData; }
- const VclPtr<OTableWindowTitle>& GetTitleCtrl() { return m_xTitle; }
+ const VclPtr<OTableWindowTitle>& GetTitleCtrl() const { return m_xTitle; }
/** returns the name which should be used when displaying join or relations
@return
diff --git a/dbaccess/source/ui/inc/TokenWriter.hxx b/dbaccess/source/ui/inc/TokenWriter.hxx
index 9af27758e61b..bebbcff2803f 100644
--- a/dbaccess/source/ui/inc/TokenWriter.hxx
+++ b/dbaccess/source/ui/inc/TokenWriter.hxx
@@ -154,7 +154,7 @@ namespace dbaui
void WriteTables();
void WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_Int32 nHeightPixel,const char* pChar,const OUString& rValue,const char* pHtmlTag);
void IncIndent( sal_Int16 nVal );
- const char* GetIndentStr() { return sIndent; }
+ const char* GetIndentStr() const { return sIndent; }
void FontOn();
inline void FontOff();
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index 708e47329cdc..7f73941d66dd 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -312,7 +312,7 @@ namespace dbaui
void applyParserFilter(const OUString& _rOldFilter, bool _bOldFilterApplied,const ::OUString& _sOldHaving,const css::uno::Reference< css::sdb::XSingleSelectQueryComposer >& _xParser);
void applyParserOrder(const OUString& _rOldOrder,const css::uno::Reference< css::sdb::XSingleSelectQueryComposer >& _xParser);
- sal_Int16 getCurrentColumnPosition();
+ sal_Int16 getCurrentColumnPosition() const;
void setCurrentColumnPosition( sal_Int16 _nPos );
void addColumnListeners(const css::uno::Reference< css::awt::XControlModel > & _xGridControlModel);
diff --git a/dbaccess/source/ui/inc/brwview.hxx b/dbaccess/source/ui/inc/brwview.hxx
index f3ddc8add4ca..acbc3d54f5b9 100644
--- a/dbaccess/source/ui/inc/brwview.hxx
+++ b/dbaccess/source/ui/inc/brwview.hxx
@@ -75,7 +75,7 @@ namespace dbaui
void showStatus( const OUString& _rStatus );
void hideStatus();
- const css::uno::Reference< css::awt::XControlContainer >& getContainer() { return m_xMe; }
+ const css::uno::Reference< css::awt::XControlContainer >& getContainer() const { return m_xMe; }
private:
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
diff --git a/dbaccess/source/ui/inc/dlgsize.hxx b/dbaccess/source/ui/inc/dlgsize.hxx
index d71f0ff1c649..0d27ba5439ee 100644
--- a/dbaccess/source/ui/inc/dlgsize.hxx
+++ b/dbaccess/source/ui/inc/dlgsize.hxx
@@ -38,7 +38,7 @@ namespace dbaui
public:
DlgSize(weld::Window * pParent, sal_Int32 nVal, bool bRow, sal_Int32 _nAlternativeStandard = -1);
virtual ~DlgSize() override;
- sal_Int32 GetValue();
+ sal_Int32 GetValue() const;
};
} // namespace dbaui
diff --git a/dbaccess/source/ui/inc/opendoccontrols.hxx b/dbaccess/source/ui/inc/opendoccontrols.hxx
index 0daab302f6ec..1a38fc1c893d 100644
--- a/dbaccess/source/ui/inc/opendoccontrols.hxx
+++ b/dbaccess/source/ui/inc/opendoccontrols.hxx
@@ -69,7 +69,7 @@ namespace dbaui
void set_sensitive(bool bSensitive) { m_xControl->set_sensitive(bSensitive); }
bool get_sensitive() const { return m_xControl->get_sensitive(); }
void grab_focus() { m_xControl->grab_focus(); }
- int get_count() { return m_xControl->get_count(); }
+ int get_count() const { return m_xControl->get_count(); }
void set_active(int nPos) { m_xControl->set_active(nPos); }
void connect_changed(const Link<weld::ComboBox&, void>& rLink) { m_xControl->connect_changed(rLink); }
diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx
index eb9d9071a9e1..607a38c82920 100644
--- a/dbaccess/source/ui/inc/querycontainerwindow.hxx
+++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx
@@ -66,9 +66,9 @@ namespace dbaui
OQueryDesignView* getDesignView() { return m_pViewSwitch->getDesignView(); }
- bool isCutAllowed() { return m_pViewSwitch->isCutAllowed(); }
- bool isPasteAllowed() { return m_pViewSwitch->isPasteAllowed(); }
- bool isCopyAllowed() { return m_pViewSwitch->isCopyAllowed(); }
+ bool isCutAllowed() const { return m_pViewSwitch->isCutAllowed(); }
+ bool isPasteAllowed() const { return m_pViewSwitch->isPasteAllowed(); }
+ bool isCopyAllowed() const { return m_pViewSwitch->isCopyAllowed(); }
void copy() { m_pViewSwitch->copy(); }
void cut() { m_pViewSwitch->cut(); }
void paste() { m_pViewSwitch->paste(); }
diff --git a/dbaccess/source/ui/inc/sqledit.hxx b/dbaccess/source/ui/inc/sqledit.hxx
index 9319c4690e4a..bbf3b72f1343 100644
--- a/dbaccess/source/ui/inc/sqledit.hxx
+++ b/dbaccess/source/ui/inc/sqledit.hxx
@@ -74,7 +74,7 @@ namespace dbaui
// Cut, Copy, Paste by Accel. runs the action in the Edit but also the
// corresponding slot in the View. Therefore, the action occurs twice.
// To prevent this, SlotExec in View can call this function.
- bool IsInAccelAct() { return m_bAccelAction; }
+ bool IsInAccelAct() const { return m_bAccelAction; }
void stopTimer();
void startTimer();
diff --git a/dbaccess/source/ui/inc/tabletree.hxx b/dbaccess/source/ui/inc/tabletree.hxx
index 85921215bc33..5df47663a8da 100644
--- a/dbaccess/source/ui/inc/tabletree.hxx
+++ b/dbaccess/source/ui/inc/tabletree.hxx
@@ -197,9 +197,9 @@ public:
/** determine if the given entry is 'wildcard checked'
@see checkWildcard
*/
- bool isWildcardChecked(weld::TreeIter& rEntry);
+ bool isWildcardChecked(const weld::TreeIter& rEntry);
- std::unique_ptr<weld::TreeIter> GetEntryPosByName(const OUString& aName, weld::TreeIter* pStart = nullptr, const IEntryFilter* _pFilter = nullptr) const;
+ std::unique_ptr<weld::TreeIter> GetEntryPosByName(const OUString& aName, const weld::TreeIter* pStart = nullptr, const IEntryFilter* _pFilter = nullptr) const;
void CheckButtons(); // make the button states consistent (bottom-up)