summaryrefslogtreecommitdiff
path: root/UnoControls/source/inc/progressmonitor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/inc/progressmonitor.hxx')
-rw-r--r--UnoControls/source/inc/progressmonitor.hxx25
1 files changed, 8 insertions, 17 deletions
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx
index 1e6827f4c272..5ab211eaa0ef 100644
--- a/UnoControls/source/inc/progressmonitor.hxx
+++ b/UnoControls/source/inc/progressmonitor.hxx
@@ -63,7 +63,7 @@
#include <basecontainercontrol.hxx>
-namespace unocontrols{
+namespace unocontrols {
class ProgressBar;
@@ -83,8 +83,6 @@ class ProgressBar;
#define PROGRESSMONITOR_DEFAULT_WIDTH 350
#define PROGRESSMONITOR_DEFAULT_HEIGHT 100
-// structs, types
-
/// Item of TextList
struct IMPL_TextlistItem
{
@@ -92,23 +90,19 @@ struct IMPL_TextlistItem
OUString sText; /// Right site of textline in dialog
};
-// class declaration
-
class ProgressMonitor : public css::awt::XLayoutConstrains
, public css::awt::XButton
, public css::awt::XProgressMonitor
, public BaseContainerControl
{
-
public:
-
ProgressMonitor( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~ProgressMonitor() override;
// XInterface
- /**_______________________________________________________________________________________________________
+ /**
@short give answer, if interface is supported
@descr The interfaces are searched by type.
@@ -123,7 +117,7 @@ public:
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- /**_______________________________________________________________________________________________________
+ /**
@short increment refcount
@seealso XInterface
@seealso release()
@@ -132,7 +126,7 @@ public:
virtual void SAL_CALL acquire() throw() override;
- /**_______________________________________________________________________________________________________
+ /**
@short decrement refcount
@seealso XInterface
@seealso acquire()
@@ -143,7 +137,7 @@ public:
// XTypeProvider
- /**_______________________________________________________________________________________________________
+ /**
@short get information about supported interfaces
@seealso XTypeProvider
@return Sequence of types of all supported interfaces
@@ -159,7 +153,7 @@ public:
// XProgressMonitor
- /**_______________________________________________________________________________________________________
+ /**
@short add topic to dialog
@descr Add a topic with a text in right textlist (used for FixedText-member).<BR>
( "beforeProgress" fix the right list ). The dialog metric is recalculated.
@@ -258,7 +252,6 @@ public:
static const OUString impl_getStaticImplementationName();
protected:
-
virtual void impl_paint( sal_Int32 nX ,
sal_Int32 nY ,
const css::uno::Reference< css::awt::XGraphics >& xGraphics ) override;
@@ -277,7 +270,6 @@ private:
// debug methods
private:
-
static bool impl_debug_checkParameter( const OUString& sTopic, const OUString& sText ); // addText, updateText
static bool impl_debug_checkParameter( const OUString& rTopic ); // removeText
@@ -295,10 +287,9 @@ private:
rtl::Reference<ProgressBar> m_xProgressBar;
css::uno::Reference< css::awt::XButton > m_xButton;
css::awt::Rectangle m_a3DLine;
+};
-}; // class ProgressMonitor
-
-} // namespace unocontrols
+}
#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX