summaryrefslogtreecommitdiffstats
path: root/parts/abbrev/abbrevconfigwidget.h
blob: 818aa3ba9200adfaae243599de518a0b0036631c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/***************************************************************************
 *   Copyright (C) 2002 Roberto Raggi                                      *
 *   roberto@kdevelop.org                                                  *
 *   Copyright (C) 2002 by Bernd Gehrmann                                  *
 *   bernd@kdevelop.org                                                    *
 *   Copyright (C) 2003 by Alexander Dymo                                  *
 *   cloudtemple@mksat.net                                                 *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef _ABBREVCONFIGWIDGET_H_
#define _ABBREVCONFIGWIDGET_H_

#include "abbrevconfigwidgetbase.h"
#include "abbrevpart.h"


class AbbrevConfigWidget : public AbbrevConfigWidgetBase
{
    Q_OBJECT
    
public:
    AbbrevConfigWidget(AbbrevPart *part, TQWidget *parent=0, const char *name=0);
    ~AbbrevConfigWidget();

public slots:
    void accept();
    
private:
    virtual void addTemplate();
    virtual void removeTemplate();
    virtual void selectionChanged();
    virtual void codeChanged();

    AbbrevPart *m_part;
};

#endif