• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • sources
  • kde-4.12
  • kdegraphics
  • okular
  • core
misc.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Piotr Szymanski <niedakh@gmail.com> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef _OKULAR_MISC_H_
11 #define _OKULAR_MISC_H_
12 
13 #include "okular_export.h"
14 #include "area.h"
15 
16 namespace Okular {
17 
36 class OKULAR_EXPORT TextSelection
37 {
38  public:
42  TextSelection( const NormalizedPoint &start, const NormalizedPoint &end );
43 
47  ~TextSelection();
48 
52  void end( const NormalizedPoint &point );
53 
54  void itE( int pos );
55  void itB( int pos );
56 
60  int direction() const;
61 
65  NormalizedPoint start() const;
66 
70  NormalizedPoint end() const;
71 
72  int itB() const;
73  int itE() const;
74 
75  private:
76  class Private;
77  Private* const d;
78 };
79 
80 }
81 
82 #endif
Okular::NormalizedPoint
NormalizedPoint is a helper class which stores the coordinates of a normalized point.
Definition: area.h:47
area.h
okular_export.h
OKULAR_EXPORT
#define OKULAR_EXPORT
Definition: okular_export.h:30
Okular::TextSelection
Wrapper around the information needed to generate the selection area There are two assumptions inside...
Definition: misc.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal