Changeset 5007fde in confclerk_git for src/gui/mainwindow.cpp
- Timestamp:
- 01/29/10 13:15:40 (13 years ago)
- Branches:
- master, qt5
- Children:
- a023fd2
- Parents:
- 1fb7a33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r1fb7a33 r5007fde 3 3 #include <QTreeView> 4 4 #include <QFile> 5 #include <QNetworkProxy> 5 6 6 7 #include <sqlengine.h> … … 22 23 #include <tabcontainer.h> 23 24 25 const QString PROXY_URL("192.168.0.252"); 26 const quint16 PROXY_PORT = 4040; 27 const QString PROXY_USERNAME; 28 const QString PROXY_PASSWD; 29 const bool DIRECT_CONNECTION = false; 30 24 31 MainWindow::MainWindow(int aEventId, QWidget *aParent) 25 32 : QMainWindow(aParent) 26 33 { 27 34 setupUi(this); 35 36 qDebug() << "Setting-up proxy: " << PROXY_URL << ":" << PROXY_PORT; 37 QNetworkProxy proxy(DIRECT_CONNECTION ? QNetworkProxy::NoProxy : QNetworkProxy::HttpProxy, 38 PROXY_URL, PROXY_PORT, PROXY_USERNAME, PROXY_PASSWD); 39 QNetworkProxy::setApplicationProxy(proxy); 28 40 29 41 int confId = Conference::activeConference();
Note: See TracChangeset
for help on using the changeset viewer.