• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces/tdetexteditor
 

interfaces/tdetexteditor

  • interfaces
  • tdetexteditor
popupmenuinterface.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2001 Christoph Cullmann <cullmann@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 version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef __tdetexteditor_popupmenuinterface_h__
20 #define __tdetexteditor_popupmenuinterface_h__
21 
22 #include <tdelibs_export.h>
23 
24 class TQCString;
25 class TQPopupMenu;
26 
27 namespace KTextEditor
28 {
29 
33 class KTEXTEDITOR_EXPORT PopupMenuInterface
34 {
35  friend class PrivatePopupMenuInterface;
36 
37  public:
38  PopupMenuInterface ();
39  virtual ~PopupMenuInterface ();
40 
41  unsigned int popupMenuInterfaceNumber () const;
42 
43  protected:
44  void setPopupMenuInterfaceDCOPSuffix (const TQCString &suffix);
45 
46  //
47  // normal methodes
48  //
49  public:
54  virtual void installPopup (TQPopupMenu *rmb_Menu) = 0;
55 
56  private:
57  class PrivatePopupMenuInterface *d;
58  static unsigned int globalPopupMenuInterfaceNumber;
59  unsigned int myPopupMenuInterfaceNumber;
60 };
61 
62 KTEXTEDITOR_EXPORT PopupMenuInterface *popupMenuInterface (class View *view);
63 
64 }
65 
66 #endif
KTextEditor::PopupMenuInterface
This is an interface to provide custom popup menus for a View.
Definition: popupmenuinterface.h:33
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:9
KTextEditor::View
The View class represents a single view of a Document .
Definition: view.h:32

interfaces/tdetexteditor

Skip menu "interfaces/tdetexteditor"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

interfaces/tdetexteditor

Skip menu "interfaces/tdetexteditor"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces/tdetexteditor by doxygen 1.8.8
This website is maintained by Timothy Pearson.