mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 07:19:42 -05:00
Coding style fixes.
This commit is contained in:
parent
0c7e1f1a6b
commit
b90807c4d3
@ -126,7 +126,7 @@ public:
|
||||
void setGroup(Group* group);
|
||||
|
||||
void setUpdateTimeinfo(bool value);
|
||||
bool match(const QString &searchTerm, Qt::CaseSensitivity caseSensitivity);
|
||||
bool match(const QString& searchTerm, Qt::CaseSensitivity caseSensitivity);
|
||||
|
||||
Q_SIGNALS:
|
||||
/**
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "EditWidget.h"
|
||||
#include "ui_EditWidget.h"
|
||||
|
||||
EditWidget::EditWidget(QWidget *parent)
|
||||
EditWidget::EditWidget(QWidget* parent)
|
||||
: DialogyWidget(parent)
|
||||
, m_ui(new Ui::EditWidget())
|
||||
{
|
||||
@ -50,4 +50,3 @@ QLabel* EditWidget::headlineLabel()
|
||||
{
|
||||
return m_ui->headerLabel;
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,7 @@
|
||||
#include <QtCore/QScopedPointer>
|
||||
#include <QtGui/QLabel>
|
||||
|
||||
#include <gui/DialogyWidget.h>
|
||||
|
||||
#include "gui/DialogyWidget.h"
|
||||
|
||||
namespace Ui {
|
||||
class EditWidget;
|
||||
@ -33,7 +32,7 @@ class EditWidget : public DialogyWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit EditWidget(QWidget *parent = 0);
|
||||
explicit EditWidget(QWidget* parent = 0);
|
||||
~EditWidget();
|
||||
|
||||
void add(const QString& labelText, QWidget* widget);
|
||||
|
@ -251,7 +251,7 @@ void EntryModel::severConnections()
|
||||
}
|
||||
}
|
||||
|
||||
void EntryModel::makeConnections(const Group *group)
|
||||
void EntryModel::makeConnections(const Group* group)
|
||||
{
|
||||
connect(group, SIGNAL(entryAboutToAdd(Entry*)), SLOT(entryAboutToAdd(Entry*)));
|
||||
connect(group, SIGNAL(entryAdded()), SLOT(entryAdded()));
|
||||
|
@ -152,7 +152,7 @@ bool FileKey::create(const QString& fileName, QString* errorMsg)
|
||||
}
|
||||
}
|
||||
|
||||
bool FileKey::loadXml(QIODevice *device)
|
||||
bool FileKey::loadXml(QIODevice* device)
|
||||
{
|
||||
QXmlStreamReader xmlReader(device);
|
||||
|
||||
|
@ -29,16 +29,16 @@
|
||||
|
||||
namespace QTest {
|
||||
template<>
|
||||
char *toString(const Uuid &uuid)
|
||||
char* toString(const Uuid& uuid)
|
||||
{
|
||||
QByteArray ba = "Uuid(";
|
||||
ba += uuid.toBase64().toAscii().constData();
|
||||
ba += ")";
|
||||
return qstrdup(ba.data());
|
||||
return qstrdup(ba.constData());
|
||||
}
|
||||
|
||||
template<>
|
||||
char *toString(const Group::TriState &triState)
|
||||
char* toString(const Group::TriState& triState)
|
||||
{
|
||||
QString value;
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <QtTest/QTest>
|
||||
|
||||
#define KEEPASSX_QTEST_CORE_MAIN(TestObject) \
|
||||
int main(int argc, char *argv[]) \
|
||||
int main(int argc, char* argv[]) \
|
||||
{ \
|
||||
QCoreApplication app(argc, argv); \
|
||||
TestObject tc; \
|
||||
|
Loading…
Reference in New Issue
Block a user