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

TDevelop Interfaces Library

  • lib
  • interfaces
KDevCoreIface.cpp
1
2
3/* This file is part of the KDE project
4 Copyright (C) 2001 Bernd Gehrmann <bernd@kdevelop.org>
5 Copyright (C) 2001-2002 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
6 Copyright (C) 2002 Roberto Raggi <roberto@kdevelop.org>
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either
11 version 2 of the License, or (at your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Library General Public License for more details.
17
18 You should have received a copy of the GNU Library General Public License
19 along with this library; see the file COPYING.LIB. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.
22*/
23#include <kdebug.h>
24#include <dcopclient.h>
25#include "KDevCoreIface.h"
26#include "kdevcore.h"
27
28
29KDevCoreIface::KDevCoreIface(KDevCore *core)
30 : TQObject(core), DCOPObject("KDevCore"), m_core(core)
31{
32 connect( m_core, TQ_SIGNAL(projectOpened()), this, TQ_SLOT(forwardProjectOpened()) );
33 connect( m_core, TQ_SIGNAL(projectClosed()), this, TQ_SLOT(forwardProjectClosed()) );
34}
35
36
37KDevCoreIface::~KDevCoreIface()
38{}
39
40
41void KDevCoreIface::forwardProjectOpened()
42{
43 kdDebug(9000) << "dcop emitting project opened" << endl;
44 emitDCOPSignal("projectOpened()", TQByteArray());
45}
46
47
48void KDevCoreIface::forwardProjectClosed()
49{
50 kdDebug(9000) << "dcop emitting project closed" << endl;
51 emitDCOPSignal("projectClosed()", TQByteArray());
52}
53
54void KDevCoreIface::openProject( const TQString & projectFileName )
55{
56 m_core->openProject(projectFileName);
57}
58
59#include "KDevCoreIface.moc"
KDevCore
A KDevCore class defines an object which takes care about the cooperation between the various plug-in...
Definition kdevcore.h:301
kdevcore.h
The interface to the application core and context menu classes.

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.15.0
This website is maintained by Timothy Pearson.