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

kate

  • kate
  • part
katedocumenthelpers.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
3  Copyright (C) 2001 Joseph Wenninger <jowenn@kde.org>
4  Copyright (C) 1999 Jochen Wilhelmy <digisnap@cs.tu-berlin.de>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License version 2 as published by the Free Software Foundation.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef __KATE_DOCUMENT_HELPERS__
22 #define __KATE_DOCUMENT_HELPERS__
23 
24 #include "../interfaces/document.h"
25 
26 #include <kparts/browserextension.h>
27 
28 #include <tqstringlist.h>
29 #include <tqguardedptr.h>
30 
31 class KateDocument;
32 
36 class KateBrowserExtension : public KParts::BrowserExtension
37 {
38  Q_OBJECT
39 
40  public:
45  KateBrowserExtension( KateDocument* doc );
46 
47  public slots:
51  void copy();
52 
56  void slotSelectionChanged();
57 
61  void print();
62 
63  private:
67  KateDocument* m_doc;
68 };
69 
70 #endif
71 
KParts::BrowserExtension
KateBrowserExtension
Interface for embedding KateDocument into a browser.
Definition: katedocumenthelpers.h:37
KateBrowserExtension::KateBrowserExtension
KateBrowserExtension(KateDocument *doc)
Constructor.
Definition: katedocumenthelpers.cpp:30
KateBrowserExtension::copy
void copy()
copy text to clipboard
Definition: katedocumenthelpers.cpp:39
KateBrowserExtension::slotSelectionChanged
void slotSelectionChanged()
selection has changed
Definition: katedocumenthelpers.cpp:50
KateBrowserExtension::print
void print()
print the current file
Definition: katedocumenthelpers.cpp:45

kate

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

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kate by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |