You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
526 B
29 lines
526 B
#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
|
|
|