Main Page | Class List | File List | Class Members

home/brockers/docs/cvs/kconfigure/kconfigure/konq_actions.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2000 Simon Hausmann <hausmann@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017    Boston, MA 02111-1307, USA.
00018 */
00019 
00020 #ifndef __konq_actions_h__
00021 #define __konq_actions_h__ "$Id: konq__actions_8h-source.html,v 1.1 2004/10/20 19:16:33 brockers Exp $"
00022 
00023 #include <qguardedptr.h>
00024 
00025 #include <kaction.h>
00026 #include <qlist.h>
00027 
00028 class QLabel;
00029 class QPopupMenu;
00030 
00031 class KonqLogoAction : public KAction
00032 {
00033   Q_OBJECT
00034 public:
00035     KonqLogoAction( const QString& text, int accel = 0, 
00036                         QObject* parent = 0, const char* name = 0 );
00037     KonqLogoAction( const QString& text, int accel,
00038                         QObject* receiver, const char* slot, QObject* parent, const char* name = 0 );
00039     KonqLogoAction( const QString& text, const QIconSet& pix, int accel = 0,
00040                         QObject* parent = 0, const char* name = 0 );
00041     KonqLogoAction( const QString& text, const QIconSet& pix, int accel,
00042                         QObject* receiver, const char* slot, QObject* parent, const char* name = 0 );
00043     // text missing !
00044 //     KonqLogoAction( const QStringList& icons, 
00045 //                      QObject* receiver, const char* slot, QObject* parent, const char* name = 0 );
00046 
00047     virtual int plug( QWidget *widget, int index = -1 );
00048 
00049     void start();
00050     void stop();
00051 
00052 private:
00053     QStringList iconList;
00054 };
00055 
00056 #endif

Generated on Wed Oct 20 13:16:39 2004 for kconfigure.kdevelop by doxygen 1.3.4