• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

  • TM
  • TMDBModel
Public Types | Public Slots | Signals | Public Member Functions | List of all members
TM::TMDBModel Class Reference

#include <tmtab.h>

Inheritance diagram for TM::TMDBModel:
Inheritance graph
[legend]

Public Types

enum  QueryType { SubStr =0, WordOrder, Glob }
 
enum  Roles { FullPathRole =Qt::UserRole, TransStateRole =Qt::UserRole+1 }
 
enum  TMDBModelColumns {
  Source =0, Target, Context, Filepath,
  _SourceAccel, _TargetAccel, _Bits, TransationStatus,
  ColumnCount
}
 

Public Slots

void setDB (const QString &)
 
void setFilter (const QString &source, const QString &target, bool invertSource, bool invertTarget, const QString &filemask)
 
void setQueryType (int)
 
void slotQueryExecuted (ThreadWeaver::Job *)
 

Signals

void finalResultCountFetched (int)
 
void resultsFetched ()
 

Public Member Functions

 TMDBModel (QObject *parent)
 
 ~TMDBModel ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &item, int role=Qt::DisplayRole) const
 
int totalResultCount () const
 

Detailed Description

Definition at line 110 of file tmtab.h.

Member Enumeration Documentation

enum TM::TMDBModel::QueryType
Enumerator
SubStr 
WordOrder 
Glob 

Definition at line 128 of file tmtab.h.

enum TM::TMDBModel::Roles
Enumerator
FullPathRole 
TransStateRole 

Definition at line 135 of file tmtab.h.

enum TM::TMDBModel::TMDBModelColumns
Enumerator
Source 
Target 
Context 
Filepath 
_SourceAccel 
_TargetAccel 
_Bits 
TransationStatus 
ColumnCount 

Definition at line 115 of file tmtab.h.

Constructor & Destructor Documentation

TMDBModel::TMDBModel ( QObject *  parent)

Definition at line 63 of file tmtab.cpp.

TM::TMDBModel::~TMDBModel ( )
inline

Definition at line 143 of file tmtab.h.

Member Function Documentation

int TM::TMDBModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
inline

Definition at line 146 of file tmtab.h.

QVariant TMDBModel::data ( const QModelIndex &  item,
int  role = Qt::DisplayRole 
) const

Definition at line 186 of file tmtab.cpp.

void TM::TMDBModel::finalResultCountFetched ( int  )
signal
void TM::TMDBModel::resultsFetched ( )
signal
void TMDBModel::setDB ( const QString &  str)
slot

Definition at line 75 of file tmtab.cpp.

void TMDBModel::setFilter ( const QString &  source,
const QString &  target,
bool  invertSource,
bool  invertTarget,
const QString &  filemask 
)
slot

Definition at line 85 of file tmtab.cpp.

void TMDBModel::setQueryType ( int  type)
slot

Definition at line 80 of file tmtab.cpp.

void TMDBModel::slotQueryExecuted ( ThreadWeaver::Job *  j)
slot

Definition at line 157 of file tmtab.cpp.

int TM::TMDBModel::totalResultCount ( ) const
inline

Definition at line 147 of file tmtab.h.


The documentation for this class was generated from the following files:
  • tmtab.h
  • tmtab.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal