| 1 |
/* This file is part of the KDE project |
| 2 |
SPDX-FileCopyrightText: 2011 Dag Andersen <[email protected]> |
| 3 |
|
| 4 |
SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef KPlato_TaskJuggler_h |
| 8 |
#define KPlato_TaskJuggler_h |
| 9 |
|
| 10 |
#include <QObject> |
| 11 |
|
| 12 |
namespace TJ { |
| 13 |
class Project; |
| 14 |
} |
| 15 |
|
| 16 |
namespace KPlato |
| 17 |
{ |
| 18 |
|
| 19 |
class TaskJuggler : public QObject |
| 20 |
{ |
| 21 |
Q_OBJECT |
| 22 |
private Q_SLOTS: |
| 23 |
void initTestCase(); |
| 24 |
void cleanupTestCase(); |
| 25 |
|
| 26 |
void list(); |
| 27 |
void projectTest(); |
| 28 |
void oneTask(); |
| 29 |
void oneResource(); |
| 30 |
void allocation(); |
| 31 |
void dependency(); |
| 32 |
void scheduleResource(); |
| 33 |
|
| 34 |
void scheduleDependencies(); |
| 35 |
void scheduleConstraints(); |
| 36 |
void resourceConflict(); |
| 37 |
void units(); |
| 38 |
|
| 39 |
private: |
| 40 |
TJ::Project *project; |
| 41 |
}; |
| 42 |
|
| 43 |
} //namespace KPlato |
| 44 |
|
| 45 |
#endif |