KDevelop API Documentation

toolsconfig.h

Go to the documentation of this file.
00001 #ifndef __TOOLS_CONFIG_H__
00002 #define __TOOLS_CONFIG_H__
00003 
00004 
00005 #include <qwidget.h>
00006 #include <qptrlist.h>
00007 #include <qpixmap.h>
00008 
00009 
00010 class QListBox;
00011 class QPushButton;
00012 class KDevApplicationTree;
00013 
00014 class Entry 
00015 {
00016 public:
00017 
00018   Entry() {};
00019 
00020   QString name;
00021   QString desktopFile;
00022   QPixmap icon;
00023 
00024 };
00025 
00026 
00027 class ToolsConfig : public QWidget
00028   {
00029     Q_OBJECT
00030 
00031 public:
00032 
00033     ToolsConfig(QWidget *parent = 0, const char *name = 0);
00034 
00035 
00036 public slots:
00037    
00038     void accept();
00039 
00040 
00041 protected:
00042 
00043     void showEvent(QShowEvent *);
00044 
00045     void fill();
00046     void add(const QString &desktopFile);
00047     void remove(const QString &desktopFile);
00048 
00049 
00050 private slots:
00051 
00052     void checkButtons();
00053 
00054     void toList();
00055     void toTree();
00056 
00057     void updateList();
00058 
00059 
00060 private:
00061 
00062     KDevApplicationTree *_tree;
00063     QListBox *_list;
00064     QPushButton *_toList, *_toTree;
00065 
00066     QPtrList<Entry> _entries;
00067 
00068   };
00069 
00070 
00071 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:42 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003