summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_widget.h
blob: 2a6bf85eab7e5e2f1ab99cefd14f34731eb666dc (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 *tqparent=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