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

List:       kde-commits
Subject:    KDE/kdevplatform/plugins/projectmanagerview
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2009-07-11 7:59:14
Message-ID: 1247299154.376846.4715.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 994690 by apaku:

Remove unused API.


 M  +0 -8      projectbuildsetmodel.cpp  
 M  +0 -1      projectbuildsetmodel.h  


--- trunk/KDE/kdevplatform/plugins/projectmanagerview/projectbuildsetmodel.cpp #994689:994690
@@ -177,14 +177,6 @@
     return true;
 }
 
-KDevelop::ProjectBaseItem* ProjectBuildSetModel::itemForIndex( const QModelIndex& idx )
-{
-    if( !idx.isValid() || idx.row() < 0 || idx.column() < 0
-         || idx.column() >= columnCount() || idx.row() >= rowCount() )
-        return 0;
-    return m_items.at( idx.row() ).findItem();
-}
-
 QList<BuildItem> ProjectBuildSetModel::items()
 {
     return m_items ;
--- trunk/KDE/kdevplatform/plugins/projectmanagerview/projectbuildsetmodel.h #994689:994690
@@ -69,7 +69,6 @@
     void moveRowsDown( int row, int count );
     void moveRowsToTop( int row, int count );
     void moveRowsToBottom( int row, int count );
-    KDevelop::ProjectBaseItem* itemForIndex( const QModelIndex& );
     QList<BuildItem> items();
 public slots:
     void saveToProject( KDevelop::IProject* ) const;
[prev in list] [next in list] [prev in thread] [next in thread] 

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