MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenWithPatternModel Class Reference

#include <openwithpatternmodel.h>

Inheritance diagram for OpenWithPatternModel:

Public Types

enum  ColumnType {
  PatternCol,
  PatternTypeCol,
  CaseSensitivityCol,
  COLUMN_COUNT
}
 
enum  PatternType {
  WildCard = 0,
  RegExp,
  PATTERNTYPE_COUNT
}
 
enum  CustomRoleType { ComboIndexRole = Qt::UserRole }
 

Public Member Functions

 OpenWithPatternModel (QObject *parentObject=0)
 
int rowCount (const QModelIndex &parent) const
 
int columnCount (const QModelIndex &parent) const
 
QVariant data (const QModelIndex &ind, int role) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role)
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const
 
bool insertRows (int row, int count, const QModelIndex &parent)
 
bool removeRows (int row, int count, const QModelIndex &parent)
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QModelIndex index (int row, int column, const QModelIndex &) const
 
QModelIndex parent (const QModelIndex &) const
 
void setRegExps (QList< QRegExp > *regexps)
 

Protected Member Functions

bool indexIsValid (const QModelIndex &ind) const
 

Protected Attributes

QList< QRegExp > * m_regexps
 

Detailed Description

MVC item model for interacting with ProgrammableOpenWithActionFactory output file filters.


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