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

lokalize

Public Types | Public Slots | Public Member Functions | List of all members
FileSearchModel Class Reference

#include <filesearchtab.h>

Inheritance diagram for FileSearchModel:
Inheritance graph
[legend]

Public Types

enum  FileSearchModelColumns {
  Source =0, Target, Filepath, TranslationStatus,
  ColumnCount
}
 
enum  Roles { FullPathRole =Qt::UserRole, TransStateRole =Qt::UserRole+1, HtmlDisplayRole =Qt::UserRole+2 }
 

Public Slots

void setReplacePreview (const QRegExp &, const QString &)
 

Public Member Functions

 FileSearchModel (QObject *parent)
 
 ~FileSearchModel ()
 
void appendSearchResults (const SearchResults &)
 
void clear ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &item, int role=Qt::DisplayRole) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
SearchResult searchResult (const QModelIndex &item) const
 
SearchResults searchResults () const
 

Detailed Description

Definition at line 147 of file filesearchtab.h.

Member Enumeration Documentation

enum FileSearchModel::FileSearchModelColumns
Enumerator
Source 
Target 
Filepath 
TranslationStatus 
ColumnCount 

Definition at line 152 of file filesearchtab.h.

enum FileSearchModel::Roles
Enumerator
FullPathRole 
TransStateRole 
HtmlDisplayRole 

Definition at line 163 of file filesearchtab.h.

Constructor & Destructor Documentation

FileSearchModel::FileSearchModel ( QObject *  parent)

Definition at line 335 of file filesearchtab.cpp.

FileSearchModel::~FileSearchModel ( )
inline

Definition at line 171 of file filesearchtab.h.

Member Function Documentation

void FileSearchModel::appendSearchResults ( const SearchResults &  results)

Definition at line 355 of file filesearchtab.cpp.

void FileSearchModel::clear ( )

Definition at line 362 of file filesearchtab.cpp.

int FileSearchModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
inline

Definition at line 175 of file filesearchtab.h.

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

Definition at line 369 of file filesearchtab.cpp.

QVariant FileSearchModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 340 of file filesearchtab.cpp.

int FileSearchModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
inline

Definition at line 176 of file filesearchtab.h.

SearchResult FileSearchModel::searchResult ( const QModelIndex &  item) const
inline

Definition at line 179 of file filesearchtab.h.

SearchResults FileSearchModel::searchResults ( ) const
inline

Definition at line 178 of file filesearchtab.h.

void FileSearchModel::setReplacePreview ( const QRegExp &  s,
const QString &  r 
)
slot

Definition at line 434 of file filesearchtab.cpp.


The documentation for this class was generated from the following files:
  • filesearchtab.h
  • filesearchtab.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 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