[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs
From: Allen Winter <winter () kde ! org>
Date: 2007-02-01 0:19:33
Message-ID: 1170289173.059395.22673.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 628940 by winterz:
explicitness
M +1 -1 kldap/ldapconfigwidget.h
M +1 -1 kmime/kmime_codecs.h
M +1 -1 kmime/kmime_dateformatter.h
M +1 -1 kresources/configwidget.h
M +3 -3 kxmlrpcclient/client.h
M +7 -7 syndication/rss2/item.h
--- trunk/KDE/kdepimlibs/kldap/ldapconfigwidget.h #628939:628940
@@ -104,7 +104,7 @@
/** Constructs an empty configuration widget.
* You need to call setFlags() after this.
*/
- LdapConfigWidget( QWidget *parent = 0, Qt::WFlags fl = 0 );
+ explicit LdapConfigWidget( QWidget *parent = 0, Qt::WFlags fl = 0 );
/** Constructs a configuration widget */
explicit LdapConfigWidget( WinFlags flags, QWidget *parent = 0,
Qt::WFlags fl = 0 );
--- trunk/KDE/kdepimlibs/kmime/kmime_codecs.h #628939:628940
@@ -407,7 +407,7 @@
@param withCRLF if true, make the newlines @ref CRLF; else use @ref LF.
*/
- Encoder( bool withCRLF=false )
+ explicit Encoder( bool withCRLF=false )
: mOutputBufferCursor( 0 ), mWithCRLF( withCRLF ) {}
public:
--- trunk/KDE/kdepimlibs/kmime/kmime_dateformatter.h #628939:628940
@@ -87,7 +87,7 @@
@param ftype is the default #FormatType to use.
*/
- DateFormatter( FormatType ftype=DateFormatter::Fancy );
+ explicit DateFormatter( FormatType ftype=DateFormatter::Fancy );
/**
Destroys the date formatter.
--- trunk/KDE/kdepimlibs/kresources/configwidget.h #628939:628940
@@ -35,7 +35,7 @@
{
Q_OBJECT
public:
- ConfigWidget( QWidget *parent = 0 );
+ explicit ConfigWidget( QWidget *parent = 0 );
/**
Sets the widget to 'edit' mode. Reimplement this method if you are
--- trunk/KDE/kdepimlibs/kxmlrpcclient/client.h #628939:628940
@@ -59,7 +59,7 @@
@param parent the parent of this object, defaults to NULL.
*/
- Client( QObject *parent = 0 );
+ explicit Client( QObject *parent = 0 );
/**
Constructs a XML-RPC Client, which will connect to @p url.
@@ -296,8 +296,8 @@
};
/**
- Calls the given method on a XML-RPC server with the given
- list of type T arguments.
+ Calls the given method on a XML-RPC server with the given
+ list of type T arguments.
@param method the method on the server we are going to be calling
@param arg the list of type T to pass to the server
--- trunk/KDE/kdepimlibs/syndication/rss2/item.h #628939:628940
@@ -58,7 +58,7 @@
* Default constructor, creates a null object, for which isNull() is
* @c true.
*/
- Item(SharedPtr<Document> doc=SharedPtr<Document>());
+ explicit Item(SharedPtr<Document> doc=SharedPtr<Document>());
/**
* Creates an Item object wrapping an @c <item> XML element.
@@ -71,7 +71,7 @@
/**
* creates a copy of an item. As the d pointer is shared,
* this is a cheap operation.
- *
+ *
* @param other the item to copy
*/
Item(const Item& other);
@@ -84,12 +84,12 @@
/**
* assigns another item. As the d pointer is shared,
* this is a cheap operation.
- *
+ *
* @param other the item to assign
*/
Item& operator=(const Item& other);
-
+
/**
* Used by visitors for double dispatch. See SpecificItemVisitor
* for more information.
@@ -243,9 +243,9 @@
* returns all child elements of this item not covered by this class.
* You can use this to access additional metadata from RSS extensions.
*/
- QList<QDomElement> unhandledElements() const;
+ QList<QDomElement> unhandledElements() const;
-
+
/**
* Returns a description of the object and its children for debugging
* purposes.
@@ -269,7 +269,7 @@
*/
QString originalTitle() const;
//@endcond
-
+
private:
class ItemPrivate;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic