~ubuntu-branches/ubuntu/precise/kde4libs/precise-proposed

« back to all changes in this revision

Viewing changes to kde3support/kdeui/k3iconviewsearchline.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Kolberg
  • Date: 2012-03-03 00:25:28 UTC
  • mfrom: (1.14.15)
  • Revision ID: package-import@ubuntu.com-20120303002528-chhwyfluldkicy5k
Tags: 4:4.8.1-0ubuntu1
* New upstream release
  - Update symbol files

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
void K3IconViewSearchLine::setIconView( Q3IconView *iv )
162
162
{
163
163
  if ( d->iconView != NULL )
164
 
    disconnect( d->iconView, SIGNAL( destroyed() ),
165
 
                this,        SLOT(   iconViewDeleted() ) );
 
164
    disconnect( d->iconView, SIGNAL(destroyed()),
 
165
                this,        SLOT(iconViewDeleted()) );
166
166
 
167
167
  d->iconView = iv;
168
168
 
169
169
  if ( iv != NULL )
170
170
    {
171
 
      connect( d->iconView, SIGNAL( destroyed() ),
172
 
               this,        SLOT(   iconViewDeleted() ) );
 
171
      connect( d->iconView, SIGNAL(destroyed()),
 
172
               this,        SLOT(iconViewDeleted()) );
173
173
      setEnabled( true );
174
174
    }
175
175
  else
199
199
 
200
200
  d->iconView = iconView;
201
201
 
202
 
  connect( this, SIGNAL( textChanged( const QString & ) ),
203
 
           this, SLOT(   queueSearch( const QString & ) ) );
 
202
  connect( this, SIGNAL(textChanged(QString)),
 
203
           this, SLOT(queueSearch(QString)) );
204
204
 
205
205
  if ( iconView != NULL )
206
206
  {
207
 
      connect( iconView, SIGNAL( destroyed() ),
208
 
              this,     SLOT(   iconViewDeleted() ) );
 
207
      connect( iconView, SIGNAL(destroyed()),
 
208
              this,     SLOT(iconViewDeleted()) );
209
209
      setEnabled( true );
210
210
  } else {
211
211
      setEnabled( false );
243
243
{
244
244
  d->queuedSearches++;
245
245
  d->search = s;
246
 
  QTimer::singleShot( 200, this, SLOT( activateSearch() ) );
 
246
  QTimer::singleShot( 200, this, SLOT(activateSearch()) );
247
247
}
248
248
 
249
249
void K3IconViewSearchLine::activateSearch()