[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs
From: Thomas Zander <zander () kde ! org>
Date: 2010-04-25 17:27:51
Message-ID: 20100425172751.103A5AC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1118685 by zander:
simple cleanups and API docs
M +1 -1 flake/KoFrameShape.cpp
M +3 -0 flake/KoFrameShape.h
M +3 -1 widgets/KoUniColorChooser.cpp
M +0 -2 widgets/KoUniColorChooser.h
--- trunk/koffice/libs/flake/KoFrameShape.cpp #1118684:1118685
@@ -47,7 +47,7 @@
{
const KoXmlElement & frameElement(KoXml::namedItemNS(element, d->ns, d->tag));
if (frameElement.isNull()) {
- kError(30006) << "frame element" << d->tag << "not found" << endl;
+ kError(30006) << "frame element" << d->tag << "not found";
return false;
}
--- trunk/koffice/libs/flake/KoFrameShape.h #1118684:1118685
@@ -71,6 +71,8 @@
/**
* Loads the content of the draw:frame element and it's children. This
* method calls the abstract loadOdfFrameElement() method.
+ *
+ * @return false if loading failed
*/
virtual bool loadOdfFrame(const KoXmlElement &element, KoShapeLoadingContext \
&context);
@@ -79,6 +81,7 @@
/**
* Abstract method to handle loading of the defined inner element like
* e.g. the draw:image element.
+ * @return false if loading failed
*/
virtual bool loadOdfFrameElement(const KoXmlElement &element, \
KoShapeLoadingContext &context) = 0;
--- trunk/koffice/libs/widgets/KoUniColorChooser.cpp #1118684:1118685
@@ -39,7 +39,9 @@
#include "KoColorSpace.h"
#include <KoColorModelStandardIds.h>
-KoUniColorChooser::KoUniColorChooser(QWidget *parent, bool opacitySlider) : \
super(parent), m_showOpacitySlider(opacitySlider) \
+KoUniColorChooser::KoUniColorChooser(QWidget *parent, bool opacitySlider) + : \
QWidget(parent), + m_showOpacitySlider(opacitySlider)
{
m_xycolorselector = new KoXYColorSelector(rgbColorSpace(), this);
m_xycolorselector->setFixedSize(137, 137);
--- trunk/koffice/libs/widgets/KoUniColorChooser.h #1118684:1118685
@@ -37,8 +37,6 @@
: public QWidget
{
Q_OBJECT
- typedef QWidget super;
-
public:
enum LayoutType{
ComplexLayout, ///< complex, with all bells and whistles
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic