/***************************************************************************
                            kde_KRootPermsIcon.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library 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 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KROOTPERMSICON
#define KDE_KROOTPERMSICON

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 Icon to show whether or not a user has root permissions.

 @author Preston Brown <pbrown@kde.org>
 
 @short 
 Icon to show whether or not a user has root permissions.
*/
kde_KRootPermsIcon * kde_new_KRootPermsIcon(qt_QWidget * parent, char* name);
void kde_del_KRootPermsIcon( kde_KRootPermsIcon* p );

/** 
 return whether or not the current user has root permissions.
   
*/
int kde_KRootPermsIcon_status(kde_KRootPermsIcon* instPointer);
void kde_KRootPermsIcon_updateStatus(kde_KRootPermsIcon* instPointer);

#endif
