00001 #ifndef LANGUAGECOMBOBOX_H 00002 #define LANGUAGECOMBOBOX_H 00003 00004 #include <QComboBox> 00005 #include "Qt4SyntaxHighlighter.h" 00006 00007 namespace srchiliteqt { 00008 00013 class LanguageComboBox : public QComboBox 00014 { 00015 Q_OBJECT 00016 public: 00020 LanguageComboBox(srchiliteqt::Qt4SyntaxHighlighter *_highlighter); 00021 00022 public slots: 00028 void setCurrentLanguage(const QString &lang); 00029 00033 const QString getCurrentLanguage() const; 00034 }; 00035 00036 } 00037 00038 #endif // LANGUAGECOMBOBOX_H 00039