summaryrefslogtreecommitdiffstats
path: root/kruler/klineal.h
diff options
context:
space:
mode:
Diffstat (limited to 'kruler/klineal.h')
-rw-r--r--kruler/klineal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/kruler/klineal.h b/kruler/klineal.h
index 407472df..31c948ae 100644
--- a/kruler/klineal.h
+++ b/kruler/klineal.h
@@ -44,8 +44,9 @@ public:
TQPoint pos();
int x();
int y();
+
protected:
- void keyPressEvent(TQKeyEvent *e);
+ void keyPressEvent(TQKeyEvent *e);
void mousePressEvent(TQMouseEvent *e);
void mouseReleaseEvent(TQMouseEvent *e);
void mouseMoveEvent(TQMouseEvent *e);
@@ -54,10 +55,14 @@ protected:
void leaveEvent(TQEvent *e);
void setupBackground();
+ // session management
+ virtual void saveProperties( KConfig *config );
+ virtual void readProperties( KConfig *config );
private:
void drawScale(TQPainter &painter);
void reLength(int percentOfScreen);
+ void setupCursor();
bool mDragging;
TQPoint mLastClickPos;
TQPoint mDragOffset;
@@ -79,7 +84,8 @@ private:
TQCursor mDragCursor;
KColorDialog mColorSelector;
TQFont mScaleFont;
- bool _clicked;
+ bool _clicked;
+
public slots:
void setOrientation(int);
void setNorth();