1
0
Fork 0

GUI: AStyle

This commit is contained in:
mrexodia 2016-06-09 17:21:49 +02:00
parent 8bd1effa21
commit d478952af2
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
4 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ void AbstractTableView::slot_updateShortcuts()
updateShortcuts();
}
void AbstractTableView::loadColumnFromConfig(const QString& viewName)
void AbstractTableView::loadColumnFromConfig(const QString & viewName)
{
int columnCount = getColumnCount();
for(int i = 0; i < columnCount; i++)
@ -147,7 +147,7 @@ void AbstractTableView::saveColumnToConfig()
}
}
void AbstractTableView::setupColumnConfigDefaultValue(QMap<QString, duint>& map, const QString& viewName, int columnCount)
void AbstractTableView::setupColumnConfigDefaultValue(QMap<QString, duint> & map, const QString & viewName, int columnCount)
{
for(int i = 0; i < columnCount; i++)
{

View File

@ -109,9 +109,9 @@ public:
void setColumnHidden(int col, bool hidden);
// UI customization
void loadColumnFromConfig(const QString& viewName);
void loadColumnFromConfig(const QString & viewName);
void saveColumnToConfig();
static void setupColumnConfigDefaultValue(QMap<QString, duint>& map, const QString& viewName, int columnCount);
static void setupColumnConfigDefaultValue(QMap<QString, duint> & map, const QString & viewName, int columnCount);
// Content drawing control
bool getDrawDebugOnly();

View File

@ -8,7 +8,7 @@ void SetApplicationIcon(WId winId)
DestroyIcon(hIcon);
}
QByteArray& ByteReverse(QByteArray& array)
QByteArray & ByteReverse(QByteArray & array)
{
int length = array.length();
for(int i = 0; i < length / 2; i++)

View File

@ -4,6 +4,6 @@
#include <QWidget>
void SetApplicationIcon(WId winId);
QByteArray& ByteReverse(QByteArray& array);
QByteArray & ByteReverse(QByteArray & array);
#endif // MISCUTIL_H