~ubuntu-branches/ubuntu/gutsy/kde4libs/gutsy

« back to all changes in this revision

Viewing changes to kio/kfile/kcombiview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-02-21 11:00:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070221110012-6kw8khr9knv6lmg1
Tags: 3.80.3-0ubuntu1
New upstream unstable release

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
    QSplitter::setAcceptDrops(b);
338
338
}
339
339
 
340
 
void KCombiView::setDropOptions_impl(int options)
 
340
void KCombiView::setDropOptions(int options)
341
341
{
342
 
    KFileView::setDropOptions_impl(options);
 
342
    KFileView::setDropOptions(options);
343
343
    left->setDropOptions(options);
344
344
    if (right)
345
345
       right->setDropOptions(options);
346
346
}
347
347
 
348
 
void KCombiView::virtual_hook( int id, void* data )
349
 
{
350
 
    switch(id) {
351
 
      case VIRTUAL_SET_DROP_OPTIONS:
352
 
         setDropOptions_impl(*(int *)data);
353
 
         break;
354
 
      default:
355
 
         KFileView::virtual_hook( id, data );
356
 
    }
357
 
}
358
 
 
359
348
bool KCombiView::eventFilter( QObject *o, QEvent *e )
360
349
{
361
350
    int type = e->type();