BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::VIEW::PluginDirectoryModel Class Reference

#include <BALL/VIEW/DIALOGS/pluginDialog.h>

Inheritance diagram for BALL::VIEW::PluginDirectoryModel:
QAbstractListModel

Public Member Functions

 PluginDirectoryModel (QObject *parent=0)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &i, int role) const
 
void addDirectory (const QString &dir)
 
void removeDirectory (const QModelIndex &index)
 

Detailed Description

A wrapper around the plugin manager that provides a model on the current plugin directories

Definition at line 63 of file pluginDialog.h.

Constructor & Destructor Documentation

BALL::VIEW::PluginDirectoryModel::PluginDirectoryModel ( QObject parent = 0)
explicit

Member Function Documentation

void BALL::VIEW::PluginDirectoryModel::addDirectory ( const QString &  dir)
QVariant BALL::VIEW::PluginDirectoryModel::data ( const QModelIndex &  i,
int  role 
) const
void BALL::VIEW::PluginDirectoryModel::removeDirectory ( const QModelIndex &  index)
int BALL::VIEW::PluginDirectoryModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const