예제 #1
0
    //_____________________________________________________________
    void WindowManager::initialize( void )
    {

        setEnabled( StyleConfigData::windowDragEnabled() );
        setDragMode( StyleConfigData::windowDragMode() );
        setUseWMMoveResize( StyleConfigData::useWMMoveResize() );

        setDragDistance( QApplication::startDragDistance() );
        setDragDelay( QApplication::startDragTime() );

        initializeWhiteList();
        initializeBlackList();

    }
예제 #2
0
    //_____________________________________________________________
    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 );

    }