srchiliteqt::SourceHighlightSettingsPage Class Reference

A page for a dialog for source-highlight's specific settings; this particular page deals with the data dir value). More...

#include <SourceHighlightSettingsPage.h>

List of all members.

Public Member Functions

 SourceHighlightSettingsPage (QWidget *parent=0)
void setSourceHighlightDataDirPath (const QString &path)
const QString getSourceHighlightDataDirPath () const

Protected Slots

void browseDir ()
 Opens a dialog for selecting a directory.
void defaultDir ()
 Uses the default value for datadir (hardcoded path in source-highlight library).
void validateDir (const QString &path)
 Checks that the specified path is a valid source-highlight's data dir path.

Protected Member Functions

void changeEvent (QEvent *e)

Private Attributes

Ui::SourceHighlightSettingsPage * ui
srchilite::Settings * sourceHighlightSettings

Detailed Description

A page for a dialog for source-highlight's specific settings; this particular page deals with the data dir value).

The page also validates source-highlight data dir, showing an error label, in case.

Since:
0.2

Member Function Documentation

const QString srchiliteqt::SourceHighlightSettingsPage::getSourceHighlightDataDirPath (  )  const
Returns:
the value of the data-dir of the dialog
void srchiliteqt::SourceHighlightSettingsPage::setSourceHighlightDataDirPath ( const QString &  path  ) 
Parameters:
the value for the data-dir to show in the dialog
void srchiliteqt::SourceHighlightSettingsPage::validateDir ( const QString &  path  )  [protected, slot]

Checks that the specified path is a valid source-highlight's data dir path.

Parameters:
path 

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

Generated on Sat Mar 6 11:23:00 2010 for Source-highlight Qt Library by  doxygen 1.6.1