• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Shell Profiles Library
 

KDevelop Shell Profiles Library

Classes | Public Types | Public Member Functions | Protected Member Functions | List of all members
Profile Class Reference

#include <profile.h>

Classes

struct  Entry

Public Types

enum  List { Properties , ExplicitEnable , ExplicitDisable }
typedef TQValueList< Entry > EntryList

Public Member Functions

 Profile (Profile *parent, const TQString &name)
 Profile (Profile *parent, const TQString &name, const TQString &genericName, const TQString &description)
TQValueList< Profile * > children () const
Profile * parent () const
void save ()
bool remove ()
TQString name () const
TQString genericName () const
TQString description () const
EntryList list (List type)
void addEntry (List type, const TQString &value)
void removeEntry (List type, const TQString &value)
void clearList (List type)
bool hasInEntryList (EntryList &list, TQString value)
KURL::List resources (const TQString &nameFilter)
void addResource (const KURL &url)
void detachFromParent ()

Protected Member Functions

void addChildProfile (Profile *profile)
void removeChildProfile (Profile *profile)
TQString dirName () const
TQStringList & listByType (List type)

Detailed Description

KDevelop profile.

A class which represents a profile for KDevelop platform stored on disk.

Definition at line 30 of file profile.h.

Member Typedef Documentation

◆ EntryList

typedef TQValueList<Entry> Profile::EntryList

Definition at line 39 of file profile.h.

Member Enumeration Documentation

◆ List

enum Profile::List

Lists which are held by a profile.

Enumerator
Properties 

X-TDevelop-Properties defined for this profile.

ExplicitEnable 

A list of explicitly enabled plugins (names).

ExplicitDisable 

A list of explicitly disabled plugins (names).

Definition at line 42 of file profile.h.

Constructor & Destructor Documentation

◆ Profile() [1/2]

Profile::Profile ( Profile * parent,
const TQString & name )

Definition at line 29 of file profile.cpp.

◆ Profile() [2/2]

Profile::Profile ( Profile * parent,
const TQString & name,
const TQString & genericName,
const TQString & description )

Definition at line 52 of file profile.cpp.

◆ ~Profile()

Profile::~Profile ( )

Definition at line 60 of file profile.cpp.

Member Function Documentation

◆ addChildProfile()

void Profile::addChildProfile ( Profile * profile)
protected

Definition at line 66 of file profile.cpp.

◆ addEntry()

void Profile::addEntry ( List type,
const TQString & value )

Definition at line 119 of file profile.cpp.

◆ addResource()

void Profile::addResource ( const KURL & url)

Definition at line 201 of file profile.cpp.

◆ children()

TQValueList< Profile * > Profile::children ( ) const
inline

Definition at line 52 of file profile.h.

◆ clearList()

void Profile::clearList ( List type)

Definition at line 132 of file profile.cpp.

◆ description()

TQString Profile::description ( ) const
inline

Definition at line 60 of file profile.h.

◆ detachFromParent()

void Profile::detachFromParent ( )

Definition at line 174 of file profile.cpp.

◆ dirName()

TQString Profile::dirName ( ) const
protected

Definition at line 76 of file profile.cpp.

◆ genericName()

TQString Profile::genericName ( ) const
inline

Definition at line 59 of file profile.h.

◆ hasInEntryList()

bool Profile::hasInEntryList ( EntryList & list,
TQString value )

Definition at line 158 of file profile.cpp.

◆ list()

Profile::EntryList Profile::list ( List type)

Definition at line 105 of file profile.cpp.

◆ listByType()

TQStringList & Profile::listByType ( List type)
protected

Definition at line 145 of file profile.cpp.

◆ name()

TQString Profile::name ( ) const
inline

Definition at line 58 of file profile.h.

◆ parent()

Profile * Profile::parent ( ) const
inline

Definition at line 53 of file profile.h.

◆ remove()

bool Profile::remove ( )

Definition at line 166 of file profile.cpp.

◆ removeChildProfile()

void Profile::removeChildProfile ( Profile * profile)
protected

Definition at line 71 of file profile.cpp.

◆ removeEntry()

void Profile::removeEntry ( List type,
const TQString & value )

Definition at line 126 of file profile.cpp.

◆ resources()

KURL::List Profile::resources ( const TQString & nameFilter)

Definition at line 180 of file profile.cpp.

◆ save()

void Profile::save ( )

Definition at line 84 of file profile.cpp.


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

KDevelop Shell Profiles Library

Skip menu "KDevelop Shell Profiles Library"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Shell Profiles Library

Skip menu "KDevelop Shell Profiles Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Shell Profiles Library by doxygen 1.15.0
This website is maintained by Timothy Pearson.