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

rocs/RocsCore

Public Member Functions | List of all members
IncludeManager Class Reference

#include <IncludeManager.h>

Public Member Functions

 IncludeManager ()
 
 ~IncludeManager ()
 
void addPath (const QString &str)
 
void addPath (const QStringList &str)
 
bool checkIfWasIncluded (const QString &file)
 
QString include (const QString &script, const QString &actualPath=QString(), const QString &filename=QString())
 
void initialize (const QStringList &tempPath=QStringList())
 
QString seekFile (const QString &arg1)
 
QStringList const tempPath () const
 

Detailed Description

Definition at line 27 of file IncludeManager.h.

Constructor & Destructor Documentation

IncludeManager::IncludeManager ( )

Definition at line 28 of file IncludeManager.cpp.

IncludeManager::~IncludeManager ( )
inline

Definition at line 37 of file IncludeManager.h.

Member Function Documentation

void IncludeManager::addPath ( const QString &  str)

insert additional path to seek files.

Definition at line 155 of file IncludeManager.cpp.

void IncludeManager::addPath ( const QStringList &  str)

Definition at line 165 of file IncludeManager.cpp.

bool IncludeManager::checkIfWasIncluded ( const QString &  file)
inline

check if the file was included before.

It's avoid cyclic includes. filename should be path to file not only the name of file.

Definition at line 46 of file IncludeManager.h.

QString IncludeManager::include ( const QString &  script,
const QString &  actualPath = QString(),
const QString &  filename = QString() 
)

Definition at line 51 of file IncludeManager.cpp.

void IncludeManager::initialize ( const QStringList &  tempPath = QStringList())

Definition at line 41 of file IncludeManager.cpp.

QString IncludeManager::seekFile ( const QString &  arg1)

Try find the fileName in the paths' list.

If found, returns an absolute path to the file, otherwise return QString(). In the case of fileName be a absolute path to file, the fileName is returned.

Definition at line 135 of file IncludeManager.cpp.

QStringList const IncludeManager::tempPath ( ) const

Definition at line 176 of file IncludeManager.cpp.


The documentation for this class was generated from the following files:
  • IncludeManager.h
  • IncludeManager.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/RocsCore

Skip menu "rocs/RocsCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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