diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-31 22:51:45 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-31 22:51:45 +0100 |
commit | 3fb7a0faf069fdc5a4f14a12dfd76c43819c3378 (patch) | |
tree | e2379ae9619152fd9e378ad9ee64256a5d5d6647 /main.h | |
parent | c47933d95cae407a99acfbbb941655f7cd52e1ae (diff) | |
download | MultiMC-3fb7a0faf069fdc5a4f14a12dfd76c43819c3378.tar MultiMC-3fb7a0faf069fdc5a4f14a12dfd76c43819c3378.tar.gz MultiMC-3fb7a0faf069fdc5a4f14a12dfd76c43819c3378.tar.lz MultiMC-3fb7a0faf069fdc5a4f14a12dfd76c43819c3378.tar.xz MultiMC-3fb7a0faf069fdc5a4f14a12dfd76c43819c3378.zip |
Reformat, Rename, Redo
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1,5 +1,4 @@ -#ifndef MAIN_H -#define MAIN_H +#pragma once #include <QObject> #include <QTimer> @@ -7,7 +6,7 @@ #include <QStandardItem> #include <QDebug> -#include "CategorizedView.h" +#include "GroupView.h" class Progresser : public QObject { @@ -27,10 +26,11 @@ public: return item; } -public slots: +public +slots: void timeout() { - foreach (QStandardItem *item, m_items) + foreach(QStandardItem * item, m_items) { int value = item->data(CategorizedViewRoles::ProgressValueRole).toInt(); value += qrand() % 3; @@ -49,5 +49,3 @@ public slots: private: QList<QStandardItem *> m_items; }; - -#endif // MAIN_H |