• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

  • lib
  • interfaces
kdevcoderepository.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2003 Roberto Raggi <roberto@kdevelop.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 #ifndef KDEVCODEREPOSITORY_H
20 #define KDEVCODEREPOSITORY_H
21 
22 #include <tqobject.h>
23 #include <tqvaluelist.h>
24 
30 class KDevCodeRepositoryData;
31 class Catalog;
32 
48 class KDevCodeRepository : public TQObject
49 {
50  Q_OBJECT
51 
52 public:
54  KDevCodeRepository();
56  virtual ~KDevCodeRepository();
57 
60  Catalog* mainCatalog();
63  void setMainCatalog( Catalog* mainCatalog );
64 
66  TQValueList<Catalog*> registeredCatalogs();
67 
70  void registerCatalog( Catalog* catalog );
73  void unregisterCatalog( Catalog* catalog );
76  void touchCatalog( Catalog* catalog );
77 
78 signals:
81  void catalogRegistered( Catalog* catalog );
82 
85  void catalogUnregistered( Catalog* catalog );
86 
89  void catalogChanged( Catalog* catalog );
90 
91 private:
92  KDevCodeRepositoryData* d;
93 };
94 
95 #endif
KDevCodeRepository
Code repository - the persistent symbol store accessor.
Definition: kdevcoderepository.h:48
KDevCodeRepository::~KDevCodeRepository
virtual ~KDevCodeRepository()
Destructor.
Definition: kdevcoderepository.cpp:34
KDevCodeRepository::setMainCatalog
void setMainCatalog(Catalog *mainCatalog)
Sets the main catalog.
Definition: kdevcoderepository.cpp:44
KDevCodeRepository::registeredCatalogs
TQValueList< Catalog * > registeredCatalogs()
Definition: kdevcoderepository.cpp:66
KDevCodeRepository::registerCatalog
void registerCatalog(Catalog *catalog)
Registers catalog in the repository.
Definition: kdevcoderepository.cpp:49
KDevCodeRepository::catalogRegistered
void catalogRegistered(Catalog *catalog)
Emitted when a new catalog is registered.
KDevCodeRepository::catalogUnregistered
void catalogUnregistered(Catalog *catalog)
Emitted when a catalog in removed.
KDevCodeRepository::unregisterCatalog
void unregisterCatalog(Catalog *catalog)
Unregisters catalog from the repository.
Definition: kdevcoderepository.cpp:55
KDevCodeRepository::KDevCodeRepository
KDevCodeRepository()
Constructor.
Definition: kdevcoderepository.cpp:29
KDevCodeRepository::catalogChanged
void catalogChanged(Catalog *catalog)
Emitted when the contens of catalog is changed.
KDevCodeRepository::touchCatalog
void touchCatalog(Catalog *catalog)
Marks catalog as changed and emits catalogChanged signal.
Definition: kdevcoderepository.cpp:61
KDevCodeRepository::mainCatalog
Catalog * mainCatalog()
Definition: kdevcoderepository.cpp:39

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces 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 TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.