00001 #ifndef OUTPUTFORMATCOMBOBOX_H 00002 #define OUTPUTFORMATCOMBOBOX_H 00003 00004 #include <QComboBox> 00005 #include "Qt4SyntaxHighlighter.h" 00006 00007 namespace srchiliteqt { 00008 00015 class OutputFormatComboBox : public QComboBox 00016 { 00017 Q_OBJECT 00018 public: 00025 OutputFormatComboBox(const QString &path = ""); 00026 00032 OutputFormatComboBox(srchiliteqt::Qt4SyntaxHighlighter *_highlighter); 00033 00034 public slots: 00040 void setCurrentOutputFormat(const QString &outlang); 00041 00045 const QString getCurrentOutputFormat() const; 00046 00052 void reload(const QString &path); 00053 00054 }; 00055 00056 } 00057 00058 #endif // OUTPUTFORMATCOMBOBOX_H 00059