summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_widget.h
blob: 91963e545282ab48f1d9deddfe096c79a83c2d1b (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
  

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