//_____________________________________________________________ void WindowManager::initialize( void ) { setEnabled( StyleConfigData::windowDragEnabled() ); setDragMode( StyleConfigData::windowDragMode() ); setUseWMMoveResize( StyleConfigData::useWMMoveResize() ); setDragDistance( QApplication::startDragDistance() ); setDragDelay( QApplication::startDragTime() ); initializeWhiteList(); initializeBlackList(); }
//_____________________________________________________________ void WindowManager::initialize( int windowDrag, const QStringList &whiteList, const QStringList &blackList ) { setEnabled( windowDrag ); setDragMode( windowDrag ); //CPD: Why??? setUseWMMoveResize( OxygenStyleConfigData::useWMMoveResize() ); #ifndef QTC_QT_ONLY setDragDistance( KGlobalSettings::dndEventDelay() ); #endif setDragDelay( QApplication::startDragTime() ); initializeWhiteList( whiteList ); initializeBlackList( blackList ); }