1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Coding style.

This commit is contained in:
nowrep 2013-01-21 22:11:31 +01:00
parent 14ca6e2f0d
commit 743c402603
5 changed files with 7 additions and 7 deletions

View File

@ -804,7 +804,7 @@ DesktopNotificationsFactory* MainApplication::desktopNotifications()
return m_desktopNotifications;
}
HTML5PermissionsManager *MainApplication::html5permissions()
HTML5PermissionsManager* MainApplication::html5permissions()
{
if (!m_html5permissions) {
m_html5permissions = new HTML5PermissionsManager(this);

View File

@ -374,7 +374,7 @@ void DownloadItem::openFolder()
else {
QString winFileName = m_path + m_fileName;
winFileName.replace(QLatin1Char('/'), "\\");
QString shExArg = "/e,/select,\""+winFileName+"\"";
QString shExArg = "/e,/select,\"" + winFileName + "\"";
ShellExecute(NULL, NULL, TEXT("explorer.exe"), shExArg.toStdWString().c_str(), NULL, SW_SHOW);
}
#else

View File

@ -138,7 +138,7 @@ QString FileSchemeReply::loadDirectory()
{
const QDir &dir = QDir(request().url().toLocalFile());
const QFileInfoList &list = dir.entryInfoList(QDir::AllEntries | QDir::Hidden,
QDir::Name | QDir::DirsFirst | QDir::IgnoreCase);
QDir::Name | QDir::DirsFirst | QDir::IgnoreCase);
static QString sPage;

View File

@ -6,14 +6,14 @@
#include <QWebFrame>
#include <QDebug>
HTML5PermissionsManager::HTML5PermissionsManager(QObject *parent)
HTML5PermissionsManager::HTML5PermissionsManager(QObject* parent)
: QObject(parent)
{
loadSettings();
}
#if QTWEBKIT_FROM_2_2
void HTML5PermissionsManager::requestPermissions(WebPage* page, QWebFrame *frame, const QWebPage::Feature &feature)
void HTML5PermissionsManager::requestPermissions(WebPage* page, QWebFrame* frame, const QWebPage::Feature &feature)
{
if (!frame || !page) {
return;
@ -66,7 +66,7 @@ void HTML5PermissionsManager::requestPermissions(WebPage* page, QWebFrame *frame
}
void HTML5PermissionsManager::rememberPermissions(const QString &host, const QWebPage::Feature &feature,
const QWebPage::PermissionPolicy &policy)
const QWebPage::PermissionPolicy &policy)
{
if (host.isEmpty()) {
return;

View File

@ -7,7 +7,7 @@
#include <QWebFrame>
#if QTWEBKIT_FROM_2_2
HTML5PermissionsNotification::HTML5PermissionsNotification(const QString &host, QWebFrame *frame, const QWebPage::Feature &feature)
HTML5PermissionsNotification::HTML5PermissionsNotification(const QString &host, QWebFrame* frame, const QWebPage::Feature &feature)
: AnimatedWidget(AnimatedWidget::Down, 300, 0)
, ui(new Ui::HTML5PermissionsNotification)
, m_host(host)