summaryrefslogtreecommitdiff
path: root/UnoControls/source/inc/progressmonitor.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-03-12 22:02:43 +0200
committerTor Lillqvist <tml@collabora.com>2018-03-13 08:07:07 +0100
commitb0259d3e857bef53b27c3f61ecc448c3f96aad07 (patch)
tree11f150b66ee5a461acaf25486a3988698cf01b40 /UnoControls/source/inc/progressmonitor.hxx
parent51617878ddc8f9816af7d63d0b483eefd3aed27d (diff)
Sorry, could not resist: Drive-by cosmetic changes
Remove noise comments, ASCII graphics, and superfluous whitespace. Change-Id: Icca0995082ce8afad1e770a263fdef00bfc33449 Reviewed-on: https://gerrit.libreoffice.org/51168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
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