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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kdecore
From:       Dirk Mueller <mueller () kde ! org>
Date:       2007-08-16 12:57:29
Message-ID: 1187269049.086432.1789.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 700792 by mueller:

pedantic--


 M  +1 -1      kaccelmanager.cpp  
 M  +4 -4      kaccelmanager_private.h  
 M  +1 -1      kaudioplayer.cpp  
 M  +1 -1      kconfigbackend.h  
 M  +1 -1      kglobal.cpp  
 M  +4 -4      kstartupinfo.cpp  
 M  +1 -1      kstringhandler.h  
 M  +2 -2      network/ksocketdevice.h  


--- branches/KDE/3.5/kdelibs/kdecore/kaccelmanager.cpp #700791:700792
@@ -118,7 +118,7 @@
   {
   public:
 
-    Item() : m_widget(0), m_children(0), m_index(-1) {};
+    Item() : m_widget(0), m_children(0), m_index(-1) {}
     ~Item();
 
     void addChild(Item *item);
--- branches/KDE/3.5/kdelibs/kdecore/kaccelmanager_private.h #700791:700792
@@ -43,16 +43,16 @@
 {
 public:
 
-  KAccelString() : m_pureText(), m_accel(-1) {};
+  KAccelString() : m_pureText(), m_accel(-1) {}
   KAccelString(const QString &input, int initalWeight=-1);
 
   void calculateWeights(int initialWeight);
 
-  const QString &pure() const { return m_pureText; };
+  const QString &pure() const { return m_pureText; }
   QString accelerated() const;
 
-  int accel() const { return m_accel; };
-  void setAccel(int accel) { m_accel = accel; };
+  int accel() const { return m_accel; }
+  void setAccel(int accel) { m_accel = accel; }
 
   int originalAccel() const { return m_orig_accel; }
   QString originalText() const { return m_origText; }
--- branches/KDE/3.5/kdelibs/kdecore/kaudioplayer.cpp #700791:700792
@@ -27,7 +27,7 @@
 public:
 	QString filename;
 
-	KAudioPlayerPrivate(const QString &filename) : filename(filename) { };
+	KAudioPlayerPrivate(const QString &filename) : filename(filename) { }
 };
 
 KAudioPlayer::KAudioPlayer( const QString& filename,
--- branches/KDE/3.5/kdelibs/kdecore/kconfigbackend.h #700791:700792
@@ -213,7 +213,7 @@
   /**
    * Destructs the configuration backend.
    */
-  virtual ~KConfigINIBackEnd() {};
+  virtual ~KConfigINIBackEnd() {}
 
   /**
    * Parses all INI-style configuration files for a config object.
--- branches/KDE/3.5/kdelibs/kdecore/kglobal.cpp #700791:700792
@@ -133,7 +133,7 @@
 class KStringDict : public QDict<QString>
 {
 public:
-   KStringDict() : QDict<QString>(139) { };
+   KStringDict() : QDict<QString>(139) { }
 };
 
 /**
--- branches/KDE/3.5/kdelibs/kdecore/kstartupinfo.cpp #700791:700792
@@ -84,9 +84,9 @@
     : public KStartupInfoData
     {
     public:
-        Data() : KStartupInfoData(), age(0) {}; // just because it's in a QMap
+        Data() : KStartupInfoData(), age(0) {} // just because it's in a QMap
         Data( const QString& txt_P )
-            : KStartupInfoData( txt_P ), age( 0 ) {};
+            : KStartupInfoData( txt_P ), age( 0 ) {}
         unsigned int age;
     };
 
@@ -948,7 +948,7 @@
 
 struct KStartupInfoIdPrivate
     {
-    KStartupInfoIdPrivate() : id( "" ) {};
+    KStartupInfoIdPrivate() : id( "" ) {}
     QCString id; // id
     };
 
@@ -1105,7 +1105,7 @@
 struct KStartupInfoDataPrivate
     {
     KStartupInfoDataPrivate() : desktop( 0 ), wmclass( "" ), hostname( "" ),
-	silent( KStartupInfoData::Unknown ), timestamp( -1U ), screen( -1 ) {};
+	silent( KStartupInfoData::Unknown ), timestamp( -1U ), screen( -1 ) {}
     QString bin;
     QString name;
     QString description;
--- branches/KDE/3.5/kdelibs/kdecore/kstringhandler.h #700791:700792
@@ -435,7 +435,7 @@
     static KDE_DEPRECATED bool matchFilename( const QString& filename, const QString& pattern )
     {
         return matchFileName (filename, pattern);
-    };
+    }
 
 };
 #endif
--- branches/KDE/3.5/kdelibs/kdecore/network/ksocketdevice.h #700791:700792
@@ -402,8 +402,8 @@
 class KSocketDeviceFactoryBase
 {
 public:
-  KSocketDeviceFactoryBase() {};
-  virtual ~KSocketDeviceFactoryBase() {};
+  KSocketDeviceFactoryBase() {}
+  virtual ~KSocketDeviceFactoryBase() {}
 
   virtual KSocketDevice* create(KSocketBase*) const = 0;
 };
[prev in list] [next in list] [prev in thread] [next in thread] 

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