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

TDevelop Interfaces Library

  • lib
  • interfaces
KDevPartControllerIface.h
1 /* This file is part of the KDE project
2  Copyright (C) 2002 Matthias Hoelzer-Kluepfel <hoelzer@kde.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 _KDEVPARTCONTROLLERIFACE_H_
20 #define _KDEVPARTCONTROLLERIFACE_H_
21 
22 #include <dcopobject.h>
23 #include <dcopref.h>
24 #include <kurl.h>
25 
26 class KDevPartController;
27 
28 class KDevPartControllerIface : public TQObject, public DCOPObject
29 {
30  Q_OBJECT
31 //
32  K_DCOP
33 
34 public:
35 
36  KDevPartControllerIface(KDevPartController *pc);
37  ~KDevPartControllerIface();
38 
39 
40 k_dcop:
41 
42  void editDocument(const TQString &url, int lineNum);
43  void showDocument(const TQString &url, bool newWin);
44 
45  void saveAllFiles();
46  void revertAllFiles();
47 
48  bool closeAllFiles();
49  uint documentState( const KURL & url );
50 
51 private slots:
52 
53  void forwardLoadedFile(const KURL &fileName);
54  void forwardSavedFile(const KURL &fileName);
55  void forwardClosedFile(const KURL &fileName);
56 
57 private:
58 
59  KDevPartController *m_controller;
60 
61 };
62 
63 
64 #endif
KDevPartController
Interface to control loaded parts and other documents.
Definition: kdevpartcontroller.h:56

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.