demos/browser/cookiejar.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   666     exceptionTable->setModel(m_proxyModel);
   666     exceptionTable->setModel(m_proxyModel);
   667 
   667 
   668     CookieModel *cookieModel = new CookieModel(cookieJar, this);
   668     CookieModel *cookieModel = new CookieModel(cookieJar, this);
   669     domainLineEdit->setCompleter(new QCompleter(cookieModel, domainLineEdit));
   669     domainLineEdit->setCompleter(new QCompleter(cookieModel, domainLineEdit));
   670 
   670 
   671     connect(domainLineEdit, SIGNAL(textChanged(const QString &)),
   671     connect(domainLineEdit, SIGNAL(textChanged(QString)),
   672             this, SLOT(textChanged(const QString &)));
   672             this, SLOT(textChanged(QString)));
   673     connect(blockButton, SIGNAL(clicked()), this, SLOT(block()));
   673     connect(blockButton, SIGNAL(clicked()), this, SLOT(block()));
   674     connect(allowButton, SIGNAL(clicked()), this, SLOT(allow()));
   674     connect(allowButton, SIGNAL(clicked()), this, SLOT(allow()));
   675     connect(allowForSessionButton, SIGNAL(clicked()), this, SLOT(allowForSession()));
   675     connect(allowForSessionButton, SIGNAL(clicked()), this, SLOT(allowForSession()));
   676 
   676 
   677     QFont f = font();
   677     QFont f = font();