parts/abbrev/abbrevconfigwidget.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2002 Roberto Raggi * 00003 * roberto@kdevelop.org * 00004 * Copyright (C) 2002 by Bernd Gehrmann * 00005 * bernd@kdevelop.org * 00006 * Copyright (C) 2003 by Alexander Dymo * 00007 * cloudtemple@mksat.net * 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 00016 #ifndef _ABBREVCONFIGWIDGET_H_ 00017 #define _ABBREVCONFIGWIDGET_H_ 00018 00019 #include "abbrevconfigwidgetbase.h" 00020 #include "abbrevpart.h" 00021 00022 00023 class AbbrevConfigWidget : public AbbrevConfigWidgetBase 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 AbbrevConfigWidget(AbbrevPart *part, QWidget *parent=0, const char *name=0); 00029 ~AbbrevConfigWidget(); 00030 00031 public slots: 00032 void accept(); 00033 00034 private: 00035 virtual void addTemplate(); 00036 virtual void removeTemplate(); 00037 virtual void selectionChanged(); 00038 virtual void codeChanged(); 00039 00040 AbbrevPart *m_part; 00041 }; 00042 00043 #endif