Format code using clang-format

This commit is contained in:
Luis Ángel San Martín
2019-05-30 19:46:37 +02:00
parent e0eb94e3ae
commit e3ec56aa43
356 changed files with 19824 additions and 21874 deletions

View File

@ -8,14 +8,14 @@
class Folder : public LibraryItem
{
public:
bool knownParent;
bool knownId;
bool knownParent;
bool knownId;
Folder();
Folder(qulonglong folderId, qulonglong parentId,const QString & folderName, const QString & folderPath);
Folder(const QString & folderName, const QString & folderPath);
Folder(qulonglong folderId, qulonglong parentId, const QString &folderName, const QString &folderPath);
Folder(const QString &folderName, const QString &folderPath);
Folder(const Folder &folder);
Folder &operator =(const Folder & other);
Folder &operator=(const Folder &other);
inline void setId(qulonglong sid)
{
@ -68,7 +68,7 @@ public:
return firstChildHash;
}
inline void setFirstChildHash(const QString & v)
inline void setFirstChildHash(const QString &v)
{
firstChildHash = v;
}
@ -78,7 +78,7 @@ public:
return customImage;
}
inline void setCustomImage(const QString & s)
inline void setCustomImage(const QString &s)
{
customImage = s;
}
@ -90,7 +90,6 @@ private:
qint32 numChildren; //-1 for unknown number of children
QString firstChildHash; //empty for unknown first child
QString customImage; //empty for none custom image
};
#endif