Logo Search packages:      
Sourcecode: mailody-kde4 version File versions  Download package

MessageBodyView::MessageBodyView ( QWidget *  parent  )  [explicit]

Constructor

Definition at line 526 of file messageview.cpp.

        : KHTMLPart( parent ),
        m_currentMessage( 0 ),
        m_bodyType( MessageData::Plain ),
        m_fixedFont( false ),
        m_externalImage( false ),
        m_openDirectly( false )
{
    setOnlyLocalReferences( true );
    setJScriptEnabled( false );
    setJavaEnabled( false );
    setMetaRefreshEnabled( false );
    setPluginsEnabled( false );

    show();

    KConfigGroup config = KGlobal::config()->group( "Messageview" );
    setFontScaleFactor( config.readEntry( "zoomlevel", 80 ) );

    connect( this, SIGNAL( popupMenu( const QString&, const QPoint& ) ),
             SLOT( slotPopupMenu( const QString&, const QPoint& ) ) );
    connect( this, SIGNAL( setWindowCaption( const QString& ) ),
             SLOT( slotSetCaption( const QString& ) ) );
}


Generated by  Doxygen 1.6.0   Back to index