mirror of
https://github.com/transmission/transmission
synced 2024-12-30 11:36:07 +00:00
9d313a8816
* refactor: const correctness * refactor: fix some implicit conversions * refactor: make local pointers const if their objects are not modified * refactor: do not cast away const in torrent-cell-renderer * refactor: remove call to deprecated gtk_icon_size_lookup_for_settings * refactor: member functions that do not mutate their objects should be declared const * chore: do not end comments with a semicolon
25 lines
436 B
C++
25 lines
436 B
C++
/*
|
|
* This file Copyright (C) 2015 Mnemosyne LLC
|
|
*
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class QObject;
|
|
class QString;
|
|
class QVariant;
|
|
|
|
class DBusInteropHelper
|
|
{
|
|
public:
|
|
DBusInteropHelper() = default;
|
|
|
|
bool isConnected() const;
|
|
|
|
QVariant addMetainfo(QString const& metainfo) const;
|
|
|
|
static void registerObject(QObject* parent);
|
|
};
|