libkdepim Library API Documentation

prefsmodule.h

00001 00021 #ifndef KOMPOSER_PREFSMODULE_H 00022 #define KOMPOSER_PREFSMODULE_H 00023 00024 #include <kprefsdialog.h> 00025 #include <kservice.h> 00026 #include <qmap.h> 00027 class QGroupBox; 00028 class QListViewItem; 00029 00030 class KAboutData; 00031 class KComboBox; 00032 00033 namespace Komposer { 00034 00035 class PrefsModule : public KPrefsModule 00036 { 00037 Q_OBJECT 00038 public: 00039 PrefsModule( QWidget* parent=0, const char* name=0 ); 00040 virtual const KAboutData* aboutData() const; 00041 }; 00042 00043 class EditorSelection : public KPrefsWid 00044 { 00045 Q_OBJECT 00046 00047 public: 00048 EditorSelection( const QString &text, QString &reference, QWidget *parent ); 00049 ~EditorSelection(); 00050 00051 void readConfig(); 00052 void writeConfig(); 00053 00054 QGroupBox *groupBox() const; 00055 00056 private slots: 00057 void slotActivated( const QString& ); 00058 00059 private: 00060 void setItem( const QString& ); 00061 private: 00062 QString& m_reference; 00063 00064 QGroupBox *m_box; 00065 KComboBox *m_editorsCombo; 00066 QMap<QString, KService::Ptr> m_services; 00067 }; 00068 } 00069 00070 #endif
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:29 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003