Commit 7ab3ae1e authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix some EBN issues

parent 33e1b8a0
......@@ -129,7 +129,7 @@ void Tweeter::tweetReplyDone() {
qDebug() << "ERROR:" << reply->errorString();
qDebug() << "Content:" << reply->readAll();
} else {
qDebug() << "Tweet posted sucessfully!";
qDebug() << "Tweet posted successfully!";
}
emit statusPosted();
}
......@@ -75,4 +75,4 @@ void o0keyChainStore::clearFromKeychain() {
if ( job.error() ) {
qWarning() << "Deleting keychain failed: " << qPrintable(job.errorString());
}
}
\ No newline at end of file
}
......@@ -51,7 +51,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If you do not provide a key, or if something else is wrong, the encryption and
decryption function will return an empty string or will return a string containing nonsense.
lastError() will return a value indicating if the method was succesful, and if not, why not.
lastError() will return a value indicating if the method was successful, and if not, why not.
SimpleCrypt is prepared for the case that the encryption and decryption
algorithm is changed in a later version, by prepending a version identifier to the cypertext.
......@@ -82,7 +82,7 @@ public:
ProtectionHash /*!< A cryptographic hash is used to verify the integrity of the data. This method produces a much stronger, but longer check */
};
/**
Error describes the type of error that occured.
Error describes the type of error that occurred.
*/
enum Error {
ErrorNoError, /*!< No error occurred. */
......@@ -175,7 +175,7 @@ public:
Decrypts a cyphertext string encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QString decryptToString(const QString& cyphertext) ;
......@@ -183,7 +183,7 @@ public:
Decrypts a cyphertext string encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QByteArray decryptToByteArray(const QString& cyphertext) ;
......@@ -191,7 +191,7 @@ public:
Decrypts a cyphertext binary encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QString decryptToString(QByteArray cypher) ;
......@@ -199,7 +199,7 @@ public:
Decrypts a cyphertext binary encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QByteArray decryptToByteArray(QByteArray cypher) ;
......
......@@ -182,7 +182,7 @@ void O2::link() {
// Save redirect URI, as we have to reuse it when requesting the access token
redirectUri_ = localhostPolicy_.arg(replyServer_->serverPort());
// Assemble intial authentication URL
// Assemble initial authentication URL
QList<QPair<QString, QString> > parameters;
parameters.append(qMakePair(QString(O2_OAUTH2_RESPONSE_TYPE),
(grantFlow_ == GrantFlowAuthorizationCode)? QString(O2_OAUTH2_GRANT_TYPE_CODE): QString(O2_OAUTH2_GRANT_TYPE_TOKEN)));
......
......@@ -12,4 +12,4 @@ O2Google::O2Google(QObject *parent) : O2(parent){
setRequestUrl(GftEndpoint);
setTokenUrl(GftTokenUrl);
setRefreshTokenUrl(GftRefreshUrl);
}
\ No newline at end of file
}
......@@ -32,7 +32,7 @@ void O2Skydrive::link() {
redirectUri_ = QString("https://login.live.com/oauth20_desktop.srf");
// Assemble intial authentication URL
// Assemble initial authentication URL
QList<QPair<QString, QString> > parameters;
parameters.append(qMakePair(QString(O2_OAUTH2_RESPONSE_TYPE), (grantFlow_ == GrantFlowAuthorizationCode) ? QString(O2_OAUTH2_GRANT_TYPE_CODE) : QString(O2_OAUTH2_GRANT_TYPE_TOKEN)));
parameters.append(qMakePair(QString(O2_OAUTH2_CLIENT_ID), clientId_));
......
......@@ -34,7 +34,6 @@
#include <QPushButton>
#include <QStandardPaths>
#include <QMessageBox>
#include <QMenu>
#include <QApplication>
// Local includes
......
......@@ -28,8 +28,8 @@
#include <QComboBox>
#include <QApplication>
#include <QStyle>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QPushButton>
#include <QDialogButtonBox>
#include <QPushButton>
// KDE includes
......
......@@ -25,7 +25,7 @@
// KDE includes
#include <QtWidgets/QDialog>
#include <QDialog>
//local includes
......
......@@ -29,7 +29,6 @@
#include <QStandardPaths>
#include <QApplication>
#include <QMessageBox>
#include <QStandardPaths>
// KDE includes
......
......@@ -32,7 +32,6 @@
#include <QPointer>
#include <QDomText>
#include <QFile>
#include <QPointer>
#include <QTemporaryDir>
#include <QApplication>
#include <QMessageBox>
......
......@@ -28,7 +28,6 @@
#include <QFile>
#include <QUrl>
#include <QApplication>
#include <QUrl>
#include <QMimeDatabase>
#include <QMimeType>
#include <QtGlobal>
......
......@@ -36,8 +36,8 @@
#include <QDomNode>
#include <QXmlStreamReader>
#include <QApplication>
#include <QtCore/QMimeDatabase>
#include <QtCore/QMimeType>
#include <QMimeDatabase>
#include <QMimeType>
#include <QUrlQuery>
// Local includes
......
......@@ -26,8 +26,8 @@
#include <QFile>
#include <QUrl>
#include <QtCore/QMimeDatabase>
#include <QtCore/QMimeType>
#include <QMimeDatabase>
#include <QMimeType>
// Local includes
......
......@@ -46,7 +46,6 @@
// Local includes
#include "jalbum.h"
#include "jalbumconfig.h"
#include "kipiplugins_debug.h"
namespace KIPIJAlbumExportPlugin
......
......@@ -20,6 +20,8 @@
*
* ============================================================ */
#include "plugin_jalbum.h"
// Qt includes
#include <QApplication>
......@@ -42,7 +44,6 @@
#include "jalbum.h"
#include "jalbumconfig.h"
#include "jalbumwindow.h"
#include "plugin_jalbum.h"
#include "kipiplugins_debug.h"
using namespace KIPIPlugins;
......
......@@ -36,7 +36,6 @@
#include <QPushButton>
#include <QRadioButton>
#include <QComboBox>
#include <QLineEdit>
#include <QCloseEvent>
#include <QSpinBox>
......
......@@ -43,13 +43,10 @@
#include <QSpinBox>
#include <QTabWidget>
#include <QVBoxLayout>
#include <QComboBox>
#include <QApplication>
#include <QPushButton>
#include <QTextEdit>
#include <QLineEdit>
#include <QComboBox>
#include <QGroupBox>
// KDE includes
......
......@@ -30,7 +30,7 @@
// Qt includes
#include <QString>
#include <QtWidgets/QDialog>
#include <QDialog>
#include <QLineEdit>
namespace KIPIPiwigoExportPlugin
......
......@@ -31,7 +31,6 @@
#include <QApplication>
#include <QMimeDatabase>
#include <QMimeType>
#include <QUrl>
// Local includes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment