[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Sun May 2 03:22:37 CEST 2010
SVN commit 1121652 by jmhoffmann:
DownloadQueueSet: Declare pointer to parent QObject const.
M +2 -2 DownloadQueueSet.cpp
M +2 -2 DownloadQueueSet.h
--- trunk/KDE/kdeedu/marble/src/lib/DownloadQueueSet.cpp #1121651:1121652
@@ -22,12 +22,12 @@
namespace Marble
{
-DownloadQueueSet::DownloadQueueSet( QObject * parent )
+DownloadQueueSet::DownloadQueueSet( QObject * const parent )
: QObject( parent )
{
}
-DownloadQueueSet::DownloadQueueSet( DownloadPolicy const & policy, QObject * parent )
+DownloadQueueSet::DownloadQueueSet( DownloadPolicy const & policy, QObject * const parent )
: QObject( parent ),
m_downloadPolicy( policy )
{
--- trunk/KDE/kdeedu/marble/src/lib/DownloadQueueSet.h #1121651:1121652
@@ -74,8 +74,8 @@
Q_OBJECT
public:
- explicit DownloadQueueSet( QObject * parent = 0 );
- explicit DownloadQueueSet( const DownloadPolicy& policy, QObject * parent = 0 );
+ explicit DownloadQueueSet( QObject * const parent = 0 );
+ explicit DownloadQueueSet( const DownloadPolicy& policy, QObject * const parent = 0 );
~DownloadQueueSet();
DownloadPolicy downloadPolicy() const;
More information about the Marble-commits
mailing list