mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 10:55:37 +00:00
30 lines
526 B
C++
30 lines
526 B
C++
#ifndef selection_h
|
|
#define selection_h
|
|
|
|
// selection.h
|
|
//
|
|
// (C) 2001 Stefan Kebekus
|
|
// Distributed under the GPL
|
|
|
|
#include <kaction.h>
|
|
#include <qstring.h>
|
|
|
|
class selection : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
selection(void);
|
|
~selection(void);
|
|
|
|
void set(Q_INT32 selectedTextStart, Q_INT32 selectedTextEnd, QString text);
|
|
void setAction(KAction *act);
|
|
void clear(void);
|
|
|
|
Q_INT32 selectedTextStart, selectedTextEnd;
|
|
QString selectedText;
|
|
KAction * act;
|
|
};
|
|
|
|
#endif
|