Qtopia library API Documentation

categoryedit_p.h

00001 /**********************************************************************
00002 ** Copyright (C) 2001 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of Qtopia Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 
00021 #ifndef __CATEGORYEDIT_H__
00022 #define __CATEGORYEDIT_H__
00023 
00024 #include "categoryeditbase_p.h"
00025 #include <qarray.h>
00026 
00027 class CategoryEditPrivate;
00028 
00029 class CategoryEdit : public CategoryEditBase
00030 {
00031     Q_OBJECT
00032 
00033 public:
00034     CategoryEdit( QWidget *parent = 0, const char *name = 0 );
00035     CategoryEdit( const QArray<int> &vlRecs, const QString &appName,
00036           const QString &visibleName,
00037           QWidget *parent = 0, const char *name = 0 );
00038     ~CategoryEdit();
00039     void setCategories( const QArray<int> &vlRecs,
00040             const QString &appName, const QString &visibleName );
00041     QArray<int> newCategories();
00042     void kludge();
00043 
00044 protected:
00045     void accept();
00046 
00047 protected slots:
00048     void slotAdd();
00049     void slotRemove();
00050     void slotSetText( QListViewItem *selected );
00051     void slotSetGlobal( bool isChecked );
00052     void slotTextChanged( const QString &strNew );
00053 
00054 private:
00055     CategoryEditPrivate *d;
00056 };
00057 
00058 QString categoryFileName();
00059 
00060 #endif
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:03 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001