/usr/include/libindicate-qt/qindicateserver.h is in libindicate-qt-dev 0.2.5.91-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | /*
* Qt wrapper for libindicate
*
* Copyright 2009 Canonical Ltd.
*
* Authors:
* - Aurélien Gâteau <aurelien.gateau@canonical.com>
*
* License: LGPL v2.1 or LGPL v3
*/
#ifndef QINDICATESERVER_H
#define QINDICATESERVER_H
// Qt
#include <QObject>
// Local
#include <qindicateinterest.h>
#include <qindicate_export.h>
namespace QIndicate
{
struct ServerPrivate;
class INDICATEQT_EXPORT Server : public QObject
{
Q_OBJECT
public:
Server(QObject* parent=0);
~Server();
void setType(const QString&);
void setDesktopFile(const QString&);
void setCount(int);
/**
* Show server on DBus
*/
void show();
/**
* Hide server from DBus
*/
void hide();
static void setDefaultInstance(Server*);
static Server* defaultInstance();
Q_SIGNALS:
void indicatorAdded(uint id);
void indicatorRemoved(uint id);
void indicatorModified(uint id, const QString& property);
/**
* Emitted when show() is called
*/
void serverShow(const QString& type);
/**
* Emitted when hide() is called
*/
void serverHide(const QString& type);
/**
* Emitted when a listener wants the server app to display itself, for
* example because the user clicked on the application item.
*/
void serverDisplay();
/**
* Emitted when a listener is interested in interest
*/
void interestAdded(QIndicate::Interest interest);
/**
* Emitted when a listener is no longer interested in interest
*/
void interestRemoved(QIndicate::Interest interest);
private:
ServerPrivate* const d;
};
} // namespace
#endif /* QINDICATESERVER_H */
|