Kexi API Documentation (2.0 alpha)

HistoryEntry Class Reference

#include <kexiquerydesignersqlhistory.h>

List of all members.

Public Member Functions

 HistoryEntry (bool success, const QTime &time, const QString &statement, const QString &error=QString::null)
 ~HistoryEntry ()
QRect geometry (int y, int width, QFontMetrics f)
void drawItem (QPainter *p, int width, const QColorGroup &cg)
void setSelected (bool selected, const QColorGroup &cg)
bool isSelected () const
void highlight (const QColorGroup &selected)
QString statement ()
void updateTime (const QTime &execTime)


Constructor & Destructor Documentation

HistoryEntry::HistoryEntry bool  success,
const QTime &  time,
const QString statement,
const QString error = QString::null
 

Definition at line 219 of file kexiquerydesignersqlhistory.cpp.

References highlight().

HistoryEntry::~HistoryEntry  ) 
 

Definition at line 369 of file kexiquerydesignersqlhistory.cpp.


Member Function Documentation

void HistoryEntry::drawItem QPainter *  p,
int  width,
const QColorGroup &  cg
 

Definition at line 230 of file kexiquerydesignersqlhistory.cpp.

Referenced by KexiQueryDesignerSQLHistory::drawContents().

QRect HistoryEntry::geometry int  y,
int  width,
QFontMetrics  f
 

Definition at line 355 of file kexiquerydesignersqlhistory.cpp.

Referenced by KexiQueryDesignerSQLHistory::addEntry(), KexiQueryDesignerSQLHistory::contentsMousePressEvent(), and KexiQueryDesignerSQLHistory::drawContents().

void HistoryEntry::highlight const QColorGroup &  selected  ) 
 

Definition at line 268 of file kexiquerydesignersqlhistory.cpp.

References statement().

Referenced by HistoryEntry(), and setSelected().

bool HistoryEntry::isSelected  )  const [inline]
 

Definition at line 43 of file kexiquerydesignersqlhistory.h.

void HistoryEntry::setSelected bool  selected,
const QColorGroup &  cg
 

Definition at line 348 of file kexiquerydesignersqlhistory.cpp.

References highlight().

Referenced by KexiQueryDesignerSQLHistory::addEntry(), and KexiQueryDesignerSQLHistory::contentsMousePressEvent().

QString HistoryEntry::statement  )  [inline]
 

Definition at line 46 of file kexiquerydesignersqlhistory.h.

Referenced by KexiQueryDesignerSQLHistory::addEvent(), highlight(), KexiQueryDesignerSQLHistory::selectedStatement(), KexiQueryDesignerSQLHistory::slotEdit(), and KexiQueryDesignerSQLHistory::slotToClipboard().

void HistoryEntry::updateTime const QTime &  execTime  ) 
 

Definition at line 365 of file kexiquerydesignersqlhistory.cpp.

Referenced by KexiQueryDesignerSQLHistory::addEvent().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:03 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003