[developerteam getadooble] SF.net SVN: dooble:[1983] trunk/browser
Brought to you by:
textfield
|
From: <tex...@us...> - 2011-02-20 20:05:00
|
Revision: 1983
http://dooble.svn.sourceforge.net/dooble/?rev=1983&view=rev
Author: textfield
Date: 2011-02-20 20:04:53 +0000 (Sun, 20 Feb 2011)
Log Message:
-----------
Added unknowns.
Modified Paths:
--------------
trunk/browser/Doc/TO-DO
trunk/browser/Include/dcookies.h
trunk/browser/Source/dcookies.cc
trunk/browser/Source/dhistory.cc
Modified: trunk/browser/Doc/TO-DO
===================================================================
--- trunk/browser/Doc/TO-DO 2011-02-20 19:13:52 UTC (rev 1982)
+++ trunk/browser/Doc/TO-DO 2011-02-20 20:04:53 UTC (rev 1983)
@@ -70,3 +70,4 @@
apparent when the user has initiated a load from beyond the
contents of a page. That is, clicked links do not instigate this
issue.
+13. Support for cookie favorites.
Modified: trunk/browser/Include/dcookies.h
===================================================================
--- trunk/browser/Include/dcookies.h 2011-02-20 19:13:52 UTC (rev 1982)
+++ trunk/browser/Include/dcookies.h 2011-02-20 20:04:53 UTC (rev 1983)
@@ -76,7 +76,6 @@
void deleteExpiredCookies(void);
signals:
- void cookieRemoved(const QNetworkCookie &cookie);
void cookiesChanged(const QList<QNetworkCookie> &list);
};
Modified: trunk/browser/Source/dcookies.cc
===================================================================
--- trunk/browser/Source/dcookies.cc 2011-02-20 19:13:52 UTC (rev 1982)
+++ trunk/browser/Source/dcookies.cc 2011-02-20 20:04:53 UTC (rev 1983)
@@ -80,18 +80,22 @@
QList<QNetworkCookie> dcookies::allCookies(void) const
{
- if(!dooble::s_settings.value("settingsWindow/cookiesEnabled",
- true).toBool())
- return QList<QNetworkCookie> ();
- else
- return QNetworkCookieJar::allCookies();
+ /*
+ ** If cookies are disabled, should this method return an empty
+ ** list or the current list? For now, it will return the
+ ** current list of cookies.
+ */
+
+ return QNetworkCookieJar::allCookies();
}
QList<QNetworkCookie> dcookies::cookiesForUrl(const QUrl &url) const
{
- if(!dooble::s_settings.value("settingsWindow/cookiesEnabled",
- true).toBool())
- return QList<QNetworkCookie> ();
+ /*
+ ** If cookies are disabled, should this method return an empty
+ ** list or the current list? For now, it will return the
+ ** current list of cookies minus the expired cookies.
+ */
QList<QNetworkCookie> list(QNetworkCookieJar::cookiesForUrl(url));
Modified: trunk/browser/Source/dhistory.cc
===================================================================
--- trunk/browser/Source/dhistory.cc 2011-02-20 19:13:52 UTC (rev 1982)
+++ trunk/browser/Source/dhistory.cc 2011-02-20 20:04:53 UTC (rev 1983)
@@ -78,6 +78,7 @@
m_model->setHorizontalHeaderLabels(list);
list.clear();
ui.history->setModel(m_model);
+ ui.history->setSelectionMode(QAbstractItemView::ExtendedSelection);
ui.history->setSortingEnabled(true);
ui.history->horizontalHeader()->setSortIndicator(0, Qt::AscendingOrder);
ui.history->horizontalHeader()->setSortIndicatorShown(true);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|