kspread Library API Documentation

kspread_dlg_list.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2002-2003 Ariya Hidayat <ariya@kde.org>
00003              (C) 2001-2003 Laurent Montel <montel@kde.org>
00004              (C) 1998, 1999 Torben Weis <weis@kde.org>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License as published by the Free Software Foundation; either
00009    version 2 of the License, or (at your option) any later version.
00010 
00011    This library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Library General Public License for more details.
00015 
00016    You should have received a copy of the GNU Library General Public License
00017    along with this library; see the file COPYING.LIB.  If not, write to
00018    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019    Boston, MA 02111-1307, USA.
00020 */
00021 
00022 #ifndef __kspread_dlg_list__
00023 #define __kspread_dlg_list__
00024 
00025 #include <kdialogbase.h>
00026 
00027 class QListBox;
00028 class QListBoxItem;
00029 class QLineEdit;
00030 class QMultiLineEdit;
00031 class QPushButton;
00032 
00033 class KConfig;
00034 
00035 class KSpreadList: public KDialogBase
00036 {
00037   Q_OBJECT
00038 
00039 public:
00040   KSpreadList( QWidget* parent, const char* name );
00041   void init();
00042 
00043 public slots:
00044   virtual void slotOk();
00045   void slotDoubleClicked(QListBoxItem *);
00046   void slotTextClicked(QListBoxItem*);
00047   void slotRemove();
00048   void slotAdd();
00049   void slotNew();
00050   void slotModify();
00051   void slotCopy();
00052 
00053 protected:
00054   KConfig *config;
00055 
00056   QListBox * list;
00057   QMultiLineEdit *entryList;
00058   QPushButton* m_pRemove;
00059   QPushButton* m_pNew;
00060   QPushButton* m_pAdd;
00061   QPushButton* m_pModify;
00062   QPushButton* m_pCopy;
00063   bool m_bChanged;
00064 };
00065 
00066 #endif
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:43:02 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003