/usr/share/sip/PyKDE4/polkitqt/action.sip is in python-kde4-dev 4:4.13.0-0ubuntu1.
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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | //
// Copyright 2009 Simon Edwards <simon@simonzone.com>
// Generated by twine
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Library General Public License as
// published by the Free Software Foundation; either version 2, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details
// You should have received a copy of the GNU Library General Public
// License along with this program; if not, write to the
// Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//typedef _PolKitAction PolKitAction;
namespace PolkitQt
{
class Action : QAction
{
%TypeHeaderCode
#include <PolicyKit/polkit-qt/action.h>
%End
public:
explicit Action (const QString& actionId = QString(), QObject* parent /TransferThis/ = 0);
signals:
void dataChanged ();
void activated ();
public:
bool activate (WId winId = 0);
void setChecked (bool checked);
void revoke ();
void setPolkitAction (const QString& actionId = QString());
//ig PolKitAction* polkitAction () const;
QString actionId () const;
void setMasterVisible (bool value);
bool masterVisible () const;
void setMasterEnabled (bool value);
bool masterEnabled () const;
void setText (const QString& text);
void setToolTip (const QString& toolTip);
void setWhatsThis (const QString& whatsThis);
void setIcon (const QIcon& icon);
void setSelfBlockedVisible (bool value);
bool selfBlockedVisible () const;
void setSelfBlockedEnabled (bool value);
bool selfBlockedEnabled () const;
void setSelfBlockedText (const QString& text);
QString selfBlockedText () const;
void setSelfBlockedToolTip (const QString& toolTip);
QString selfBlockedToolTip () const;
void setSelfBlockedWhatsThis (const QString& whatsThis);
QString selfBlockedWhatsThis () const;
void setSelfBlockedIcon (const QIcon& icon);
QIcon selfBlockedIcon () const;
void setNoVisible (bool value);
bool noVisible () const;
void setNoEnabled (bool value);
bool noEnabled () const;
void setNoText (const QString& text);
QString noText () const;
void setNoToolTip (const QString& toolTip);
QString noToolTip () const;
void setNoWhatsThis (const QString& whatsThis);
QString noWhatsThis () const;
void setNoIcon (const QIcon& icon);
QIcon noIcon () const;
void setAuthVisible (bool value);
bool authVisible () const;
void setAuthEnabled (bool value);
bool authEnabled () const;
void setAuthText (const QString& text);
QString authText () const;
void setAuthToolTip (const QString& toolTip);
QString authToolTip () const;
void setAuthWhatsThis (const QString& whatsThis);
QString authWhatsThis () const;
void setAuthIcon (const QIcon& icon);
QIcon authIcon () const;
void setYesVisible (bool value);
bool yesVisible () const;
void setYesEnabled (bool value);
bool yesEnabled () const;
void setYesText (const QString& text);
QString yesText () const;
void setYesToolTip (const QString& toolTip);
QString yesToolTip () const;
void setYesWhatsThis (const QString& whatsThis);
QString yesWhatsThis () const;
void setYesIcon (const QIcon& icon);
QIcon yesIcon () const;
void setTargetPID (qint64 pid);
qint64 targetPID () const;
bool isAllowed () const;
bool is (const QString& actionId) const /PyName=is_/;
~Action ();
};
// Action
};
// PolkitQt
|