Source-highlight Qt Library
Main Page
Related Pages
Classes
Files
File List
LanguageComboBox.h
1
/*
2
* Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3
* License: See COPYING file that comes with this distribution
4
*/
5
6
#ifndef LANGUAGECOMBOBOX_H
7
#define LANGUAGECOMBOBOX_H
8
9
#include <QComboBox>
10
#include "Qt4SyntaxHighlighter.h"
11
12
namespace
srchiliteqt {
13
18
class
LanguageComboBox
:
public
QComboBox
19
{
20
Q_OBJECT
21
public
:
28
LanguageComboBox
(
const
QString &path =
""
);
29
35
LanguageComboBox
(
Qt4SyntaxHighlighter
*_highlighter);
36
37
public
slots:
43
void
setCurrentLanguage
(
const
QString &lang);
44
48
const
QString
getCurrentLanguage
()
const
;
49
55
void
reload
(
const
QString &path);
56
};
57
58
}
59
60
#endif // LANGUAGECOMBOBOX_H
61
LanguageComboBox.h
Generated on Sat Aug 25 2012 15:37:49 for Source-highlight Qt Library by
1.8.1.2