summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-08 06:05:07 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-08 06:05:07 (GMT)
commit75eba69aed3a9b73d29e91c1f5b5463654321bea (patch)
tree08892107bfb9cc1cefb3b201218dda1862a07fc0 /examples
parent658f78e2fec95faf1d4c2a066b41bd092d811915 (diff)
downloadQt-75eba69aed3a9b73d29e91c1f5b5463654321bea.zip
Qt-75eba69aed3a9b73d29e91c1f5b5463654321bea.tar.gz
Qt-75eba69aed3a9b73d29e91c1f5b5463654321bea.tar.bz2
make examples compile
Diffstat (limited to 'examples')
-rw-r--r--examples/webkit/fancybrowser/mainwindow.cpp2
-rw-r--r--examples/webkit/googlechat/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/webkit/fancybrowser/mainwindow.cpp b/examples/webkit/fancybrowser/mainwindow.cpp
index 2adfa20..a3293b8 100644
--- a/examples/webkit/fancybrowser/mainwindow.cpp
+++ b/examples/webkit/fancybrowser/mainwindow.cpp
@@ -56,7 +56,7 @@ MainWindow::MainWindow()
file.close();
//! [1]
- QNetworkProxyFactory::setUseSystemConfigurationEnabled(true);
+ QNetworkProxyFactory::setUseSystemConfiguration(true);
//! [2]
view = new QWebView(this);
diff --git a/examples/webkit/googlechat/main.cpp b/examples/webkit/googlechat/main.cpp
index fd08114..6b5e11f 100644
--- a/examples/webkit/googlechat/main.cpp
+++ b/examples/webkit/googlechat/main.cpp
@@ -47,7 +47,7 @@ int main(int argc, char * argv[])
{
QApplication app(argc, argv);
- QNetworkProxyFactory::setUseSystemConfigurationEnabled(true);
+ QNetworkProxyFactory::setUseSystemConfiguration(true);
GoogleChat *chat = new GoogleChat;
chat->show();