kauthicon.h
141 KWritePermsIcon(const TQString & fileName, TQWidget *parent = nullptr, const char *name = nullptr);
KAuthIcon(TQWidget *parent=nullptr, const char *name=nullptr)
Constructor.
Definition kauthicon.cpp:94
void authChanged(bool authorized)
this signal is emitted when authorization has changed from its previous state.
virtual void updateStatus()=0
Re-implement this method if you want the icon to update itself when something external has changed (i...
bool status() const
return whether or not the current user has root permissions.
Definition kauthicon.h:114
TQString fileName() const
return the filename of the currently watched file.
Definition kauthicon.h:158
void setFileName(const TQString &fileName)
make the icon watch a new filename.
Definition kauthicon.h:152
Trinity API Reference