Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QWebSettings * QWebSettings::globalSettings (  )  [static]

Returns the global settings object.

Any setting changed on the default object is automatically applied to all QWebPage instances where the particular setting is not overriden already.

Definition at line 199 of file qwebsettings.cpp.

Referenced by fontFamily(), fontSize(), offlineStorageDefaultQuota(), setOfflineStorageDefaultQuota(), and testAttribute().

    static QWebSettings *global = 0;
    if (!global)
        global = new QWebSettings;
    return global;

Generated by  Doxygen 1.6.0   Back to index