F:/KPlato/koffice/libs/kofficeui/KoPartSelectAction.h

Aller à la documentation de ce fichier.
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., 51 Franklin Street, Fifth Floor,
00016  * Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef koPartSelectAction_h
00020 #define koPartSelectAction_h
00021 
00022 #include <kaction.h>
00023 #include <kactionmenu.h>
00024 #include <KoQueryTrader.h>
00025 //Added by qt3to4:
00026 #include <Q3ValueList>
00027 
00033 class KOFFICEUI_EXPORT KoPartSelectAction : public KActionMenu
00034 {
00035     Q_OBJECT
00036 
00037 public:
00038     KoPartSelectAction( const QString& text, KActionCollection* parent = 0, const char* name = 0 );
00039     KoPartSelectAction( const QString& text, const QString& icon,
00040                         KActionCollection* parent = 0, const char* name = 0 );
00041     KoPartSelectAction( const QString& text, const QString& icon,
00042                         QObject* receiver, const char* slot, KActionCollection* parent, const char* name = 0 );
00043 
00044     KoDocumentEntry documentEntry() const { return m_documentEntry; }
00045 
00046     //virtual void plug(QWidget* widget, int index);
00047 
00048 protected:
00049     void init();
00050 
00051 protected slots:
00052     virtual void slotActivated();
00053     void slotActionActivated();
00054 
00055 private:
00056     Q3ValueList<KoDocumentEntry> m_lstEntries;
00057     KoDocumentEntry m_documentEntry;
00058 };
00059 
00060 #endif

Généré le Wed Nov 22 23:41:05 2006 pour KPlato par  doxygen 1.5.1-p1