srchiliteqt::LanguageComboBox Class Reference

A subclass of QComboBox which provides functionalities for showing and selecting the language definition files of Source-Highlight. More...

#include <LanguageComboBox.h>

List of all members.

Public Slots

void setCurrentLanguage (const QString &lang)
 Sets the language in the combo.
const QString getCurrentLanguage () const

Public Member Functions

 LanguageComboBox (srchiliteqt::Qt4SyntaxHighlighter *_highlighter)


Detailed Description

A subclass of QComboBox which provides functionalities for showing and selecting the language definition files of Source-Highlight.

Constructor & Destructor Documentation

srchiliteqt::LanguageComboBox::LanguageComboBox ( srchiliteqt::Qt4SyntaxHighlighter _highlighter  ) 

Parameters:
_highlighter the highlighter object; this will be used only for initialization


Member Function Documentation

const QString srchiliteqt::LanguageComboBox::getCurrentLanguage (  )  const [slot]

Returns:
the language definition file name currently selected

void srchiliteqt::LanguageComboBox::setCurrentLanguage ( const QString &  lang  )  [slot]

Sets the language in the combo.

Parameters:
lang the language name; if the language is not part of the combo list, nothing happens


The documentation for this class was generated from the following files:

Generated on Tue Aug 11 19:49:21 2009 for Source-highlight Qt Library by  doxygen 1.5.9