summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_widget.h
blob: d569a4d64aba2fdf037dfc3b672e86932ea6678f (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
#ifndef __ASTYLE_WIDGET_H__
#define __ASTYLE_WIDGET_H__

#include "astyleconfig.h"

class AStylePart;
class KDevPart;


class AStyleWidget : public AStyleConfig
{
  Q_OBJECT
  TQ_OBJECT

public:

  AStyleWidget( AStylePart * part, bool global, TQWidget *parent=0, const char *name=0 );
  ~AStyleWidget();


public slots:

  void accept();


private slots:
  void styleChanged();

private:
	AStylePart * m_part;
	bool isGlobalWidget;
	TQString m_lastExt;
	bool globalOptions;
};


#endif