~ubuntu-branches/ubuntu/lucid/kdepim/lucid-proposed

« back to all changes in this revision

Viewing changes to libkdepim/categoryselectdialog.cpp

Tags: 4:4.4.8-0ubuntu0.0.1
* Upload to lucid-proposed for 10.04.2 (LP: #691068)
  - No SRU/security upload to verify
  - Odd versioning to leave room for an eventual SRU to Maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    {
43
43
      setupUi( this );
44
44
 
45
 
      mButtonClear->setIcon( KIcon( "edit-clear-locationbar-rtl" ) );
46
 
      mButtonEdit->setIcon( KIcon( "document-properties" ) );
 
45
      mButtonClear->setIcon( KIcon( QLatin1String( "edit-clear-locationbar-rtl" )) );
 
46
      mButtonEdit->setIcon( KIcon( QLatin1String( "document-properties" ) ) );
47
47
    }
48
48
};
49
49
 
121
121
  while ( *it ) {
122
122
    QStringList path = categoriesView->pathByItem( *it++ );
123
123
    if ( path.count() ) {
124
 
      path.replaceInStrings( KPimPrefs::categorySeparator, QString( "\\" ) +
 
124
      path.replaceInStrings( KPimPrefs::categorySeparator, QLatin1String( "\\" ) +
125
125
                             KPimPrefs::categorySeparator );
126
126
      categories.append( path.join( KPimPrefs::categorySeparator ) );
127
127
    }
156
156
QStringList CategorySelectWidget::selectedCategories( QString &categoriesStr )
157
157
{
158
158
  mCategoryList = getSelectedCategories( listView() );
159
 
  categoriesStr = mCategoryList.join( ", " );
 
159
  categoriesStr = mCategoryList.join( QLatin1String( ", " ) );
160
160
  return mCategoryList;
161
161
}
162
162
 
183
183
  lay->setSpacing( KDialog::spacingHint() );
184
184
 
185
185
  mWidgets = new CategorySelectWidget( this, prefs );
186
 
  mWidgets->setObjectName( "CategorySelection" );
 
186
  mWidgets->setObjectName( QLatin1String( "CategorySelection" ) );
187
187
  mWidgets->hideHeader();
188
188
  lay->addWidget( mWidgets );
189
189