locationpickerservice/src/locationpickerproxymodel.cpp
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 31 8db05346071b
--- a/locationpickerservice/src/locationpickerproxymodel.cpp	Mon May 03 12:27:22 2010 +0300
+++ b/locationpickerservice/src/locationpickerproxymodel.cpp	Fri May 14 15:47:27 2010 +0300
@@ -22,7 +22,7 @@
 // LocationPickerProxyModel::LocationPickerProxyModel()
 // ----------------------------------------------------
 
-LocationPickerProxyModel::LocationPickerProxyModel(Qt::Orientations aOrientation , QObject *parent)
+LocationPickerProxyModel::LocationPickerProxyModel( Qt::Orientations aOrientation , QObject *parent )
      :QSortFilterProxyModel(parent),
      mOrientation( aOrientation )
 {
@@ -31,8 +31,8 @@
 // ----------------------------------------------------
 // LocationPickerProxyModel::lessThan()
 // ----------------------------------------------------
- bool LocationPickerProxyModel::lessThan(const QModelIndex &left,
-                                      const QModelIndex &right) const
+ bool LocationPickerProxyModel::lessThan( const QModelIndex &left,
+                                      const QModelIndex &right ) const
 {
      // get left and right items data and implement sort logic
      // return true if left is less than right
@@ -62,8 +62,8 @@
 // LocationPickerProxyModel::filterAcceptsRow()
 // ----------------------------------------------------
 
-bool LocationPickerProxyModel::filterAcceptsRow(int sourceRow,
-        const QModelIndex &sourceParent) const
+bool LocationPickerProxyModel::filterAcceptsRow( int sourceRow,
+        const QModelIndex &sourceParent ) const
 {
     if( mOrientation == Qt::Vertical)
     {
@@ -82,7 +82,7 @@
  // ----------------------------------------------------
 // LocationPickerProxyModel::filterParameterChanged()
 // ----------------------------------------------------
-void LocationPickerProxyModel::filterParameterChanged(QString aSearchText)
+void LocationPickerProxyModel::filterParameterChanged( QString aSearchText )
 {
     mSearchText = " " + aSearchText;
 }