• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

marble/src

GpxFileModel Class Reference

#include <GpxFileModel.h>

Inheritance diagram for GpxFileModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Andrew Manson <g.real.ate@gmail.com>

Definition at line 29 of file GpxFileModel.h.


Public Slots

void saveFile ()
void closeFile ()

Signals

void updateRegion (BoundingBox)
void enableActions (bool)

Public Member Functions

 GpxFileModel (QObject *parent=0)
 ~GpxFileModel ()
Qt::ItemFlags flags (const QModelIndex &item) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
void addFile (GpxFile *file)
void setSelectedIndex (const QModelIndex &)
QVector< GpxFile * > * allFiles ()

Constructor & Destructor Documentation

GpxFileModel::GpxFileModel ( QObject *  parent = 0  ) 

Definition at line 30 of file GpxFileModel.cpp.

GpxFileModel::~GpxFileModel (  ) 

Definition at line 37 of file GpxFileModel.cpp.


Member Function Documentation

void GpxFileModel::updateRegion ( BoundingBox   )  [signal]

void GpxFileModel::enableActions ( bool   )  [signal]

void GpxFileModel::saveFile (  )  [slot]

Definition at line 49 of file GpxFileModel.cpp.

void GpxFileModel::closeFile (  )  [slot]

Definition at line 74 of file GpxFileModel.cpp.

Qt::ItemFlags GpxFileModel::flags ( const QModelIndex &  item  )  const

Definition at line 88 of file GpxFileModel.cpp.

QVariant GpxFileModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 93 of file GpxFileModel.cpp.

bool GpxFileModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

Reimplemented from QAbstractItemModel.

Definition at line 111 of file GpxFileModel.cpp.

QModelIndex GpxFileModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 127 of file GpxFileModel.cpp.

QModelIndex GpxFileModel::parent ( const QModelIndex &  index  )  const

Definition at line 137 of file GpxFileModel.cpp.

int GpxFileModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const

Definition at line 144 of file GpxFileModel.cpp.

int GpxFileModel::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const

Definition at line 153 of file GpxFileModel.cpp.

void GpxFileModel::addFile ( GpxFile *  file  ) 

Definition at line 160 of file GpxFileModel.cpp.

void GpxFileModel::setSelectedIndex ( const QModelIndex &  index  ) 

Definition at line 167 of file GpxFileModel.cpp.

QVector< GpxFile * > * GpxFileModel::allFiles (  ) 

Definition at line 172 of file GpxFileModel.cpp.


The documentation for this class was generated from the following files:
  • GpxFileModel.h
  • GpxFileModel.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal