summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_widget.h
blob: ac779985fb0e65e66ac83976382dd2487d046a71 (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
#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, QWidget *parent=0, const char *name=0 );
  ~AStyleWidget();


public slots:

  void accept();


private slots:
  void styleChanged();

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


#endif