--- a/radioapp/radiouiengine/inc/radiohistorymodel_p.h Mon Sep 20 18:04:48 2010 +0300
+++ b/radioapp/radiouiengine/inc/radiohistorymodel_p.h Tue Oct 05 09:31:22 2010 +0300
@@ -53,6 +53,8 @@
QVariant data( const int row, const int role ) const;
void removeAll( bool removeTagged );
+
+ void removeByModelIndices( QModelIndexList& indices, bool removeTags );
enum ViewMode{ ShowAll, ShowTagged };
void setViewMode( ViewMode mode );
@@ -67,6 +69,7 @@
QSqlQuery beginTransaction();
enum Operation{ NoOp, InsertRows, RemoveRows, ChangeData };
void commitTransaction( QSqlQuery& query, Operation operation, int start, int end = -1 );
+ bool prepareAndExec( QSqlQuery& query, const QString& sqlStr );
public: // data