Preferences Class Reference

#include <preferences.h>

Collaboration diagram for Preferences:

Collaboration graph
[legend]

List of all members.

Signals

void prefsChanged ()

Public Member Functions

 Preferences (QObject *parent=0)
 ~Preferences ()
bool checkQtVersion ()
bool nullHighlight ()
void setNullHighlight (bool v)
bool blobHighlight ()
void setBlobHighlight (bool v)
QString nullHighlightText ()
void setNullHighlightText (const QString &v)
QString blobHighlightText ()
void setBlobHighlightText (const QString &v)
QColor nullHighlightColor ()
void setNullHighlightColor (const QColor &v)
QColor blobHighlightColor ()
void setBlobHighlightColor (const QColor &v)
int recentlyUsedCount ()
void setRecentlyUsedCount (int v)
bool openLastDB ()
bool openLastSqlFile ()
void setOpenLastDB (bool v)
void setOpenLastSqlFile (bool v)
QString lastDB ()
int GUItranslator ()
void setGUItranslator (int v)
int GUIstyle ()
void setGUIstyle (int v)
bool cropColumns ()
void setCropColumns (bool v)
QFont sqlFont ()
void setSqlFont (QFont v)
int sqlFontSize ()
void setSqlFontSize (int v)
bool activeHighlighting ()
void setActiveHighlighting (bool v)
QColor activeHighlightColor ()
void setActiveHighlightColor (const QColor &v)
bool textWidthMark ()
void setTextWidthMark (bool v)
int textWidthMarkSize ()
void setTextWidthMarkSize (int v)
bool codeCompletion ()
void setCodeCompletion (bool v)
int codeCompletionLength ()
void setCodeCompletionLength (int v)
bool useShortcuts ()
void setUseShortcuts (bool v)
QMap< QString, QVariant > shortcuts ()
void setShortcuts (QMap< QString, QVariant > v)
QString dateTimeFormat ()
void setDateTimeFormat (const QString &v)
int exportFormat ()
void setExportFormat (int v)
int exportDestination ()
void setExportDestination (int v)
bool exportHeaders ()
void setExportHeaders (bool v)
QString exportEncoding ()
void setExportEncoding (const QString &v)
int exportEol ()
void setExportEol (int v)
QColor syDefaultColor ()
void setSyDefaultColor (const QColor &v)
QColor syKeywordColor ()
void setSyKeywordColor (const QColor &v)
QColor syNumberColor ()
void setSyNumberColor (const QColor &v)
QColor syStringColor ()
void setSyStringColor (const QColor &v)
QColor syCommentColor ()
void setSyCommentColor (const QColor &v)

Static Public Member Functions

static Preferencesinstance ()
static void deleteInstance ()
static QColor stdLightColor ()
static QColor stdDarkColor ()


Constructor & Destructor Documentation

Preferences::Preferences ( QObject *  parent = 0  ) 

References stdDarkColor(), and stdLightColor().

Referenced by instance().

Preferences::~Preferences (  ) 


Member Function Documentation

Preferences * Preferences::instance (  )  [static]

void Preferences::deleteInstance (  )  [static]

static QColor Preferences::stdLightColor (  )  [inline, static]

Referenced by Preferences().

static QColor Preferences::stdDarkColor (  )  [inline, static]

Referenced by Preferences().

bool Preferences::checkQtVersion (  )  [inline]

bool Preferences::nullHighlight (  )  [inline]

void Preferences::setNullHighlight ( bool  v  )  [inline]

bool Preferences::blobHighlight (  )  [inline]

void Preferences::setBlobHighlight ( bool  v  )  [inline]

QString Preferences::nullHighlightText (  )  [inline]

void Preferences::setNullHighlightText ( const QString &  v  )  [inline]

QString Preferences::blobHighlightText (  )  [inline]

void Preferences::setBlobHighlightText ( const QString &  v  )  [inline]

QColor Preferences::nullHighlightColor (  )  [inline]

void Preferences::setNullHighlightColor ( const QColor &  v  )  [inline]

QColor Preferences::blobHighlightColor (  )  [inline]

void Preferences::setBlobHighlightColor ( const QColor &  v  )  [inline]

int Preferences::recentlyUsedCount (  )  [inline]

void Preferences::setRecentlyUsedCount ( int  v  )  [inline]

bool Preferences::openLastDB (  )  [inline]

bool Preferences::openLastSqlFile (  )  [inline]

void Preferences::setOpenLastDB ( bool  v  )  [inline]

void Preferences::setOpenLastSqlFile ( bool  v  )  [inline]

QString Preferences::lastDB (  )  [inline]

Referenced by ArgsParser::fileToOpen().

int Preferences::GUItranslator (  )  [inline]

void Preferences::setGUItranslator ( int  v  )  [inline]

int Preferences::GUIstyle (  )  [inline]

void Preferences::setGUIstyle ( int  v  )  [inline]

bool Preferences::cropColumns (  )  [inline]

void Preferences::setCropColumns ( bool  v  )  [inline]

QFont Preferences::sqlFont (  )  [inline]

void Preferences::setSqlFont ( QFont  v  )  [inline]

int Preferences::sqlFontSize (  )  [inline]

void Preferences::setSqlFontSize ( int  v  )  [inline]

bool Preferences::activeHighlighting (  )  [inline]

void Preferences::setActiveHighlighting ( bool  v  )  [inline]

QColor Preferences::activeHighlightColor (  )  [inline]

void Preferences::setActiveHighlightColor ( const QColor &  v  )  [inline]

bool Preferences::textWidthMark (  )  [inline]

void Preferences::setTextWidthMark ( bool  v  )  [inline]

int Preferences::textWidthMarkSize (  )  [inline]

void Preferences::setTextWidthMarkSize ( int  v  )  [inline]

bool Preferences::codeCompletion (  )  [inline]

void Preferences::setCodeCompletion ( bool  v  )  [inline]

int Preferences::codeCompletionLength (  )  [inline]

void Preferences::setCodeCompletionLength ( int  v  )  [inline]

bool Preferences::useShortcuts (  )  [inline]

void Preferences::setUseShortcuts ( bool  v  )  [inline]

QMap<QString,QVariant> Preferences::shortcuts (  )  [inline]

void Preferences::setShortcuts ( QMap< QString, QVariant >  v  )  [inline]

QString Preferences::dateTimeFormat (  )  [inline]

void Preferences::setDateTimeFormat ( const QString &  v  )  [inline]

Referenced by MultiEditDialog::data().

int Preferences::exportFormat (  )  [inline]

void Preferences::setExportFormat ( int  v  )  [inline]

int Preferences::exportDestination (  )  [inline]

void Preferences::setExportDestination ( int  v  )  [inline]

bool Preferences::exportHeaders (  )  [inline]

void Preferences::setExportHeaders ( bool  v  )  [inline]

QString Preferences::exportEncoding (  )  [inline]

void Preferences::setExportEncoding ( const QString &  v  )  [inline]

int Preferences::exportEol (  )  [inline]

void Preferences::setExportEol ( int  v  )  [inline]

QColor Preferences::syDefaultColor (  )  [inline]

void Preferences::setSyDefaultColor ( const QColor &  v  )  [inline]

QColor Preferences::syKeywordColor (  )  [inline]

void Preferences::setSyKeywordColor ( const QColor &  v  )  [inline]

QColor Preferences::syNumberColor (  )  [inline]

void Preferences::setSyNumberColor ( const QColor &  v  )  [inline]

QColor Preferences::syStringColor (  )  [inline]

void Preferences::setSyStringColor ( const QColor &  v  )  [inline]

QColor Preferences::syCommentColor (  )  [inline]

void Preferences::setSyCommentColor ( const QColor &  v  )  [inline]

void Preferences::prefsChanged (  )  [signal]


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

Generated on Sat Jul 26 09:05:56 2008 for Sqliteman by  doxygen 1.5.5