summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/astyle/astyle_widget.h')
-rw-r--r--parts/astyle/astyle_widget.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/parts/astyle/astyle_widget.h b/parts/astyle/astyle_widget.h
new file mode 100644
index 00000000..ac779985
--- /dev/null
+++ b/parts/astyle/astyle_widget.h
@@ -0,0 +1,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