lib Library API Documentation

koPartSelectAction.h

00001 /* This file is part of the KDE libraries 00002 Copyright (C) 2001 David Faure <faure@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 version 2 as published by the Free Software Foundation. 00007 00008 This library is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 Library General Public License for more details. 00012 00013 You should have received a copy of the GNU Library General Public License 00014 along with this library; see the file COPYING.LIB. If not, write to 00015 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00016 Boston, MA 02111-1307, USA. 00017 */ 00018 00019 #ifndef koPartSelectAction_h 00020 #define koPartSelectAction_h 00021 00022 #include <kaction.h> 00023 #include <koQueryTrader.h> 00024 00030 class KoPartSelectAction : public KActionMenu 00031 { 00032 Q_OBJECT 00033 00034 public: 00035 KoPartSelectAction( const QString& text, QObject* parent = 0, const char* name = 0 ); 00036 KoPartSelectAction( const QString& text, const QString& icon, 00037 QObject* parent = 0, const char* name = 0 ); 00038 KoPartSelectAction( const QString& text, const QString& icon, 00039 QObject* receiver, const char* slot, QObject* parent, const char* name = 0 ); 00040 00041 KoDocumentEntry documentEntry() const { return m_documentEntry; } 00042 00043 //virtual void plug(QWidget* widget, int index); 00044 00045 protected: 00046 void init(); 00047 00048 protected slots: 00049 virtual void slotActivated(); 00050 void slotActionActivated(); 00051 00052 private: 00053 QValueList<KoDocumentEntry> m_lstEntries; 00054 KoDocumentEntry m_documentEntry; 00055 }; 00056 00057 #endif
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Nov 17 06:54:17 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003