Hello community,

here is the log from the commit of package libkgapi for openSUSE:Factory 
checked in at 2014-04-30 15:06:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkgapi (Old)
 and      /work/SRC/openSUSE:Factory/.libkgapi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkgapi"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkgapi/libkgapi.changes        2014-03-21 
13:33:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libkgapi.new/libkgapi.changes   2014-04-30 
15:06:29.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 29 22:28:03 UTC 2014 - [email protected]
+
+- Update to 2.1.1
+  * Bugfix release, no changelog provided
+
+-------------------------------------------------------------------

Old:
----
  libkgapi-2.1.0.tar.bz2

New:
----
  libkgapi-2.1.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libkgapi.spec ++++++
--- /var/tmp/diff_new_pack.jkLOPr/_old  2014-04-30 15:06:30.000000000 +0200
+++ /var/tmp/diff_new_pack.jkLOPr/_new  2014-04-30 15:06:30.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libkgapi
-Version:        2.1.0
+Version:        2.1.1
 Release:        0
 Summary:        Extension for accessing your Google data
 License:        GPL-2.0+

++++++ libkgapi-2.1.0.tar.bz2 -> libkgapi-2.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-2.1.0/CMakeLists.txt 
new/libkgapi-2.1.1/CMakeLists.txt
--- old/libkgapi-2.1.0/CMakeLists.txt   2014-03-01 18:30:47.000000000 +0100
+++ new/libkgapi-2.1.1/CMakeLists.txt   2014-04-07 23:08:28.000000000 +0200
@@ -2,7 +2,7 @@
 
 set(KGAPI_VERSION_MAJOR 2)
 set(KGAPI_VERSION_MINOR 1)
-set(KGAPI_VERSION_RELEASE 0)
+set(KGAPI_VERSION_RELEASE 1)
 set(KGAPI_VERSION 
"${KGAPI_VERSION_MAJOR}.${KGAPI_VERSION_MINOR}.${KGAPI_VERSION_RELEASE}")
 
 cmake_minimum_required(VERSION 2.8)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-2.1.0/libkgapi2/authjob.cpp 
new/libkgapi-2.1.1/libkgapi2/authjob.cpp
--- old/libkgapi-2.1.0/libkgapi2/authjob.cpp    2014-03-01 18:30:47.000000000 
+0100
+++ new/libkgapi-2.1.1/libkgapi2/authjob.cpp    2014-04-07 23:08:28.000000000 
+0200
@@ -147,6 +147,16 @@
     return d->account;
 }
 
+void AuthJob::setUsername(const QString& username)
+{
+    d->username = username;
+}
+
+void AuthJob::setPassword(const QString& password)
+{
+    d->password = password;
+}
+
 void AuthJob::handleReply(const QNetworkReply *reply, const QByteArray& 
rawData)
 {
     Q_UNUSED(reply);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-2.1.0/libkgapi2/authjob.h 
new/libkgapi-2.1.1/libkgapi2/authjob.h
--- old/libkgapi-2.1.0/libkgapi2/authjob.h      2014-03-01 18:30:47.000000000 
+0100
+++ new/libkgapi-2.1.1/libkgapi2/authjob.h      2014-04-07 23:08:28.000000000 
+0200
@@ -108,6 +108,34 @@
      */
     AccountPtr account() const;
 
+    /**
+      * Sets the username that will be used when authenticate is called
+      *
+      * The username will be automatically filled in the Google login
+      * form in the authentication widget.
+      *
+      * Be aware that the username will be set every time \sa authenticate is
+      * called so if you want to change or remove it call \sa setUsername again
+      * with empty string or \sa clearCredentials.
+      *
+      * @param username username to use
+      */
+    void setUsername(const QString &username);
+
+    /**
+     * Sets the password that will be used when authenticate is called
+     *
+     * The password will be automatically filled in the Google login
+     * form in the authentication widget.
+     *
+     * Be aware that the password will be set every time \sa authenticate is
+     * called so if you want to change or remove it call \sa setPassword again
+     * with empty string or \sa clearCredentials.
+     *
+     * @param password password to use
+     */
+    void setPassword(const QString &password);
+
   protected:
 
     /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-2.1.0/libkgapi2/job.cpp 
new/libkgapi-2.1.1/libkgapi2/job.cpp
--- old/libkgapi-2.1.0/libkgapi2/job.cpp        2014-03-01 18:30:47.000000000 
+0100
+++ new/libkgapi-2.1.1/libkgapi2/job.cpp        2014-04-07 23:08:28.000000000 
+0200
@@ -35,6 +35,7 @@
 Job::Private::Private(Job *parent):
     isRunning(false),
     error(KGAPI2::NoError),
+    accessManager(0),
     maxTimeout(0),
     q(parent)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-2.1.0/libkgapi2/ui/authwidget_p.cpp 
new/libkgapi-2.1.1/libkgapi2/ui/authwidget_p.cpp
--- old/libkgapi-2.1.0/libkgapi2/ui/authwidget_p.cpp    2014-03-01 
18:30:47.000000000 +0100
+++ new/libkgapi-2.1.1/libkgapi2/ui/authwidget_p.cpp    2014-04-07 
23:08:28.000000000 +0200
@@ -22,15 +22,16 @@
 #include "accountinfo/accountinfofetchjob.h"
 #include "private/newtokensfetchjob_p.h"
 
+#include <QtWebKit/QWebView>
 #include <QtWebKit/QWebFrame>
 #include <QtWebKit/QWebElement>
+#include <QtNetwork/QNetworkProxy>
 
 #include <qjson/parser.h>
 
 #include <KDE/KUrl>
 #include <KDE/KLocalizedString>
 #include <KIO/AccessManager>
-#include <KDE/KWebView>
 
 #include <QDateTime>
 
@@ -71,7 +72,10 @@
     progressbar->setValue(0);
     vbox->addWidget(progressbar);
 
-    webview = new KWebView(q);
+    webview = new QWebView(q);
+    KIO::AccessManager *m = new KIO::AccessManager(webview);
+    
webview->page()->networkAccessManager()->setProxyFactory(m->proxyFactory());
+
     vbox->addWidget(webview);
     connect(webview, SIGNAL(loadProgress(int)), progressbar, 
SLOT(setValue(int)));
     connect(webview, SIGNAL(urlChanged(QUrl)), this, 
SLOT(webviewUrlChanged(QUrl)));

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to