28#include <com/sun/star/sdbc/XConnection.hpp>
30#include <osl/mutex.hxx>
61 css::uno::Reference< css::sdbc::XConnection >
69 const css::uno::Reference< css::sdbc::XConnection >& _rxConn);
80 virtual void _disposing(
const css::lang::EventObject& _rSource )
override;
104 void display(
const css::uno::Reference< css::sdbc::XResultSet >& xRS);
std::unique_ptr< weld::TextView > m_xStatus
virtual void _disposing(const css::lang::EventObject &_rSource) override
void addStatusText(std::u16string_view _rMessage)
adds a status text to the status list
void implAddToStatementHistory(const OUString &_rStatement)
adds a statement to the statement history
StringQueue m_aStatementHistory
ImplSVEvent * m_pClosingEvent
StringQueue m_aNormalizedHistory
std::unique_ptr< weld::Button > m_xClose
const char * impl_CheckInvariants() const
void implEnsureHistoryLimit()
ensures that our history has at most m_nHistoryLimit entries
std::unique_ptr< weld::CheckButton > m_xDirectSQL
DECL_LINK(OnExecute, weld::Button &, void)
std::unique_ptr< SQLEditView > m_xSQL
std::unique_ptr< weld::Button > m_xExecute
void display(const css::uno::Reference< css::sdbc::XResultSet > &xRS)
displays resultset
css::uno::Reference< css::sdbc::XConnection > m_xConnection
std::unique_ptr< weld::CustomWeld > m_xSQLEd
void addOutputText(std::u16string_view _rMessage)
adds a status text to the output list
void switchToHistory(sal_Int32 _nHistoryPos)
std::deque< OUString > StringQueue
void implExecuteStatement(const OUString &_rStatement)
executes the statement given, adds the status to the status list
std::unique_ptr< weld::TextView > m_xOutput
DECL_LINK(OnStatementModified, LinkParamNone *, void)
virtual ~DirectSQLDialog() override
std::unique_ptr< weld::CheckButton > m_xShowOutput
DECL_LINK(OnListEntrySelected, weld::ComboBox &, void)
DECL_LINK(OnClose, void *, void)
DECL_LINK(OnCloseClick, weld::Button &, void)
DirectSQLDialog(weld::Window *_pParent, const css::uno::Reference< css::sdbc::XConnection > &_rxConn)
std::unique_ptr< weld::ComboBox > m_xSQLHistory
sal_Int32 getHistorySize() const
number of history entries