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

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/lib/geodata/data
From:       Thibaut Gridel <tgridel () free ! fr>
Date:       2010-07-16 21:10:06
Message-ID: 20100716211006.6DCC5AC76B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1150817 by tgridel:

GeoData: dead code

 M  +0 -2      GeoDataFeature.h  
 M  +0 -1      GeoDataFolder.h  
 M  +0 -1      GeoDataGeometry.h  
 M  +0 -21     GeoDataObject.cpp  
 M  +0 -20     GeoDataObject.h  
 M  +0 -1      GeoDataPlacemark.h  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataFeature.h #1150816:1150817
@@ -84,8 +84,6 @@
 
     /// Provides type information for downcasting a GeoData
     virtual QString nodeType() const;
-    virtual bool isFolder() const { return false; }
-    virtual bool isPlacemark() const { return false; }
 
     EnumFeatureId featureId() const;
     /**
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataFolder.h #1150816:1150817
@@ -57,7 +57,6 @@
 
     /// Provides type information for downcasting a GeoData
     virtual QString nodeType() const;
-    virtual bool isFolder() const { return true; }
 
 //private:
     GeoDataFolderPrivate *p() const;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataGeometry.h #1150816:1150817
@@ -65,7 +65,6 @@
 
     /// Provides type information for downcasting a GeoData
     virtual QString nodeType() const;
-    virtual bool isFolder() const { return false; }
     virtual EnumGeometryId geometryId() const;
 
     bool extrude() const;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataObject.cpp #1150816:1150817
@@ -100,27 +100,6 @@
     d->m_targetId = value;
 }
 
-GeoDataObject* GeoDataObject::child(int /* pos */ )
-{
-    return 0;
-}
-
-int GeoDataObject::row()
-{
-    return 0;
-}
-
-int GeoDataObject::childPosition( GeoDataObject *child )
-{
-    Q_UNUSED( child );
-    return 0;
-}
-
-int GeoDataObject::childCount()
-{
-    return 0;
-}
-
 void GeoDataObject::pack( QDataStream& stream ) const
 {
     stream << d->m_id;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataObject.h #1150816:1150817
@@ -83,26 +83,6 @@
      */
     void setTargetId( int value );
 
-    /**
-     * @brief returns the requested child item
-     */
-    virtual GeoDataObject* child( int );
-
-    /**
-     * @brief returns this items position in the parents list
-     */
-    int row();
-
-    /**
-     * @brief returns the position of an item in the list
-     */
-    virtual int childPosition( GeoDataObject* );
-
-    /**
-     * @brief returns the number of items in the list
-     */
-    virtual int childCount();
-
     /// Reimplemented from Serializable
     virtual void pack( QDataStream& stream ) const;
     /// Reimplemented from Serializable
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.h #1150816:1150817
@@ -187,7 +187,6 @@
      */
     virtual void unpack( QDataStream& stream );
 
-    virtual bool isPlacemark() const { return true; }
 // private:
     GeoDataPlacemarkPrivate *p() const;
 };
[prev in list] [next in list] [prev in thread] [next in thread] 

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