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

interfaces

  • 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
24class TQCString;
25class TQPopupMenu;
26
27namespace KTextEditor
28{
29
33class 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
62KTEXTEDITOR_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:34
KTextEditor::PopupMenuInterface::installPopup
virtual void installPopup(TQPopupMenu *rmb_Menu)=0
Install a Popup Menu.
KTextEditor::View
The View class represents a single view of a Document .
Definition: tdetexteditor/view.h:33
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:10

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

interfaces

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