find_documentation_options.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2004 by Tobias Glaesser * 00003 * tobi.web@gmx.de * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00021 #ifndef FIND_DOCUMENTATIONOPTIONS_H 00022 #define FIND_DOCUMENTATIONOPTIONS_H 00023 00024 #include "find_documentation_optionsbase.h" 00025 00026 class QCheckListItem; 00027 class KConfig; 00028 00029 class FindDocumentationOptions : public FindDocumentationOptionsBase 00030 { 00031 Q_OBJECT 00032 public: 00033 FindDocumentationOptions(QWidget* parent = 0, const char* name = 0, bool modal = FALSE); 00034 ~FindDocumentationOptions(); 00035 /*$PUBLIC_FUNCTIONS$*/ 00036 virtual bool isContents( QCheckListItem * item ); 00037 virtual bool isGoogle( QCheckListItem * item ); 00038 virtual bool isIndex( QCheckListItem * item ); 00039 virtual bool isInfo( QCheckListItem * item ); 00040 virtual bool isMan( QCheckListItem * item ); 00041 00042 public slots: 00043 /*$PUBLIC_SLOTS$*/ 00044 virtual void sourceMoveDown(); 00045 virtual void sourceMoveUp(); 00046 virtual void writeOptions(); 00047 virtual void readOptions(); 00048 00049 protected: 00050 /*$PROTECTED_FUNCTIONS$*/ 00051 00052 protected slots: 00053 /*$PROTECTED_SLOTS$*/ 00054 00055 private: 00056 QCheckListItem *m_man_item; 00057 QCheckListItem *m_info_item; 00058 QCheckListItem *m_index_item; 00059 QCheckListItem *m_google_item; 00060 QCheckListItem *m_contents_item; 00061 00062 KConfig* config; 00063 }; 00064 00065 #endif 00066