[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

QtAppBase::QADocumentController Class Reference

#include <QADocumentController.qt.h>

List of all members.

Public Member Functions

 QADocumentController (QObject *parent=NULL)
virtual ~QADocumentController ()
void closeAll ()
bool hasEditedDocuments ()
QADocument::ReadWriteError openUntitledDocument ()
QADocument::ReadWriteError openDocumentWithPath (QString &filepath const)
QFileInfoList recentDocuments ()
int maximumRecentDocumentCount ()
QAFiletype defaultType () const
void setDefaultType (const QAFiletype &filetype)
void addDocumentTemplate (const QADocumentTemplate &docTemplate)
QList< QADocumentTemplatedocumentTemplates ()
const QADocumentTemplate documentTemplateForFiletype (const QAFiletype &filetype) const
QADocumentTemplate documentTemplateForFile (const QFileInfo &fileinfo) const
QADocumentTemplate documentTemplateForFile (const QString &filepath) const

Static Public Member Functions

QADocumentControllersharedDocumentController ()

Public Attributes

public signal: void updateRecentDocuments()

Protected Member Functions

QADocumentnewUntitledDocumentOfType (QAFiletype &type const, QADocument::ReadWriteError *error=NULL)
QADocumentnewDocumentFromFile (QFileInfo &fileinfo const, QAFiletype &type const, QADocument::ReadWriteError *error=NULL)
QADocumentnewDocumentFromFile (QString &filepath const, QAFiletype &type const, QADocument::ReadWriteError *error=NULL)


Constructor & Destructor Documentation

QtAppBase::QADocumentController::QADocumentController QObject *  parent = NULL  ) 
 

virtual QtAppBase::QADocumentController::~QADocumentController  )  [inline, virtual]
 


Member Function Documentation

void QtAppBase::QADocumentController::addDocumentTemplate const QADocumentTemplate docTemplate  ) 
 

void QtAppBase::QADocumentController::closeAll  ) 
 

QAFiletype QtAppBase::QADocumentController::defaultType  )  const
 

QADocumentTemplate QtAppBase::QADocumentController::documentTemplateForFile const QString &  filepath  )  const
 

QADocumentTemplate QtAppBase::QADocumentController::documentTemplateForFile const QFileInfo &  fileinfo  )  const
 

const QADocumentTemplate QtAppBase::QADocumentController::documentTemplateForFiletype const QAFiletype filetype  )  const
 

QList<QADocumentTemplate> QtAppBase::QADocumentController::documentTemplates  ) 
 

bool QtAppBase::QADocumentController::hasEditedDocuments  ) 
 

int QtAppBase::QADocumentController::maximumRecentDocumentCount  ) 
 

QADocument* QtAppBase::QADocumentController::newDocumentFromFile QString &filepath  const,
QAFiletype &type  const,
QADocument::ReadWriteError *  error = NULL
[protected]
 

QADocument* QtAppBase::QADocumentController::newDocumentFromFile QFileInfo &fileinfo  const,
QAFiletype &type  const,
QADocument::ReadWriteError *  error = NULL
[protected]
 

QADocument* QtAppBase::QADocumentController::newUntitledDocumentOfType QAFiletype &type  const,
QADocument::ReadWriteError *  error = NULL
[protected]
 

QADocument::ReadWriteError QtAppBase::QADocumentController::openDocumentWithPath QString &filepath  const  ) 
 

QADocument::ReadWriteError QtAppBase::QADocumentController::openUntitledDocument  ) 
 

QFileInfoList QtAppBase::QADocumentController::recentDocuments  ) 
 

void QtAppBase::QADocumentController::setDefaultType const QAFiletype filetype  ) 
 

QADocumentController* QtAppBase::QADocumentController::sharedDocumentController  )  [static]
 


Member Data Documentation

public QtAppBase::QADocumentController::signal
 


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

Generated on Mon Sep 20 01:01:37 2010 for Hugintrunk by doxygen 1.3.9.1