summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/messageeditor.h
blob: 79d02ccf2a0e2af665515c819ff5e31b7d920d6c (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
#ifndef MESSAGEEDITOR_H
#define MESSAGEEDITOR_H

#include <kdialogbase.h>

class TQComboBox;
class KTextEdit;

class MessageEditor : public KDialogBase {
    Q_OBJECT
  TQ_OBJECT
  public:
    MessageEditor( TQWidget *parent );

  protected slots:
    void slotOk();

  private slots:
    void addButton();
    void removeButton();
    void changeMessage();
    void saveMessage();
    void updateMessage();
    void updateConfig();
    
  private:
    TQComboBox *mSelectionCombo;
    KTextEdit *mMessageEdit;
    
    TQString mCurrentButton;
    TQMap <TQString,TQString> mMessageButtons;
};

#endif