1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
/*
* Example of an application which only defines a server count
*
* Copyright 2009 Canonical Ltd.
*
* Authors:
* - Aurélien Gâteau <aurelien.gateau@canonical.com>
*
* License: LGPL v2.1 or LGPL v3
*/
#ifndef QSERVERCOUNT_H
#define QSERVERCOUNT_H
#include <QApplication>
#include <QObject>
#include <qindicateserver.h>
class Controller : public QObject
{
Q_OBJECT
public:
Controller(QIndicate::Server*);
public Q_SLOTS:
void slotServerDisplay();
void increaseCount();
private:
QIndicate::Server* mServer;
int mCount;
};
#endif /* QSERVERCOUNT_H */
|