[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kresources (silent)
From:       Allen Winter <winter () kde ! org>
Date:       2008-09-27 14:26:05
Message-ID: 1222525565.293871.32290.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 865414 by winterz:

minor coding style
SVN_SILENT:


 M  +3 -2      managerimpl.cpp  
 M  +10 -8     resource.h  


--- trunk/KDE/kdepimlibs/kresources/managerimpl.cpp #865413:865414
@@ -108,10 +108,11 @@
 {
   kDebug();
 
-  if ( d->mFactory )
+  if ( d->mFactory ) {
     d->mFactory->reloadConfig();
-  else
+  } else {
     d->mFactory = Factory::self( d->mFamily );
+  }
 
   if ( !cfg ) {
     createStandardConfig();
--- trunk/KDE/kdepimlibs/kresources/resource.h #865413:865414
@@ -215,10 +215,11 @@
 class KRESOURCES_EXPORT PluginFactoryBase : public KPluginFactory
 {
   public:
-    explicit PluginFactoryBase(const char* componentName = 0, const char \
                *catalogName = 0, QObject *parent = 0)
-      : KPluginFactory(componentName, catalogName, parent) {}
-    explicit PluginFactoryBase(const KAboutData &aboutData, QObject *parent = 0)
-      : KPluginFactory(aboutData, parent) {}
+    explicit PluginFactoryBase( const char *componentName=0,
+                                const char *catalogName=0, QObject *parent=0 )
+      : KPluginFactory( componentName, catalogName, parent ) {}
+    explicit PluginFactoryBase( const KAboutData &aboutData, QObject *parent = 0 )
+      : KPluginFactory( aboutData, parent ) {}
 
     virtual Resource *resource( const KConfigGroup &group ) = 0;
     virtual Resource *resource() = 0;
@@ -234,10 +235,11 @@
 class PluginFactory : public PluginFactoryBase
 {
   public:
-    explicit PluginFactory(const char* componentName = 0, const char *catalogName = \
                0, QObject *parent = 0)
-      : PluginFactoryBase(componentName, catalogName, parent) {}
-    explicit PluginFactory(const KAboutData &aboutData, QObject *parent = 0)
-      : PluginFactoryBase(aboutData, parent) {}
+    explicit PluginFactory( const char *componentName=0,
+                            const char *catalogName=0, QObject *parent=0 )
+      : PluginFactoryBase( componentName, catalogName, parent ) {}
+    explicit PluginFactory( const KAboutData &aboutData, QObject *parent = 0 )
+      : PluginFactoryBase( aboutData, parent ) {}
 
     virtual Resource *resource( const KConfigGroup &group )
     {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic