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

List:       kde-commits
Subject:    kdesdk/kbabel/common
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-08-31 21:38:28
[Download RAW message or body]

CVS commit by wheeler: 

this is more suitable for classes that are not meant to be instantiated
directly and it fixes a warning


  M +2 -2      kbabeldatatool.h   1.4


--- kdesdk/kbabel/common/kbabeldatatool.h  #1.3:1.4
@@ -39,5 +39,5 @@ class KBabelDataTool: public KDataTool
     Q_OBJECT
     
-public:
+protected:
     KBabelDataTool( QObject* parent, const char* name ) : KDataTool( parent, name ) {}
 public slots:
@@ -46,5 +46,5 @@ public slots:
      *  @param project is ID of the project, for which the settings changed.
      */
-    virtual void settingsChanged(const QString &project) {}
+    virtual void settingsChanged(const QString &project) = 0;
 };
 


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

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