transmission/qt/dbus-adaptor.h

38 lines
755 B
C
Raw Normal View History

/*
* This file Copyright (C) 2010-2014 Mnemosyne LLC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* $Id$
*/
#ifndef QTR_DBUS_ADAPTOR_H
#define QTR_DBUS_ADAPTOR_H
class MyApp;
#include <QDBusAbstractAdaptor>
class TrDBusAdaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO( "D-Bus Interface", "com.transmissionbt.Transmission" )
private:
MyApp * myApp;
public:
TrDBusAdaptor( MyApp* );
2013-09-14 22:45:04 +00:00
virtual ~TrDBusAdaptor() {}
public slots:
bool PresentWindow();
bool AddMetainfo( const QString& );
};
#endif