summaryrefslogtreecommitdiffstats
path: root/kiten/learn.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:18 -0600
commitee52bb567f32fefdcf06e083c76562ea40ccf174 (patch)
tree8926667faaed3a18bec210ec14ffb9392ea8930d /kiten/learn.h
parent088cc453ec425bf86d610880d09645ea166a14fa (diff)
downloadtdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz
tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kiten/learn.h')
-rw-r--r--kiten/learn.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kiten/learn.h b/kiten/learn.h
index d6fe41ef..2312cf46 100644
--- a/kiten/learn.h
+++ b/kiten/learn.h
@@ -28,7 +28,7 @@
#include "widgets.h"
-class KAction;
+class TDEAction;
class KPushButton;
class TQButtonGroup;
class TQListViewItem;
@@ -43,7 +43,7 @@ public:
int compare(TQListViewItem *item, int col, bool ascending) const;
};
-class Learn : public KMainWindow
+class Learn : public TDEMainWindow
{
Q_OBJECT
@@ -118,7 +118,7 @@ class Learn : public KMainWindow
Dict::Index *index;
- KListView *List;
+ TDEListView *List;
KPushButton *Save;
KPushButton *Del;
KPushButton *qDel;
@@ -146,19 +146,19 @@ class Learn : public KMainWindow
// to the list.
TQString randomMeaning(TQStringList &oldMeanings);
- KAction *forwardAct;
- KAction *printAct;
- KAction *backAct;
- KAction *cheatAct;
- KAction *saveAct;
- KAction *openAct;
- KAction *newAct;
- KAction *saveAsAct;
- KAction *addAct;
- KAction *addAllAct;
- KAction *removeAct;
- KAction *randomAct;
- KListAction *gradeAct;
+ TDEAction *forwardAct;
+ TDEAction *printAct;
+ TDEAction *backAct;
+ TDEAction *cheatAct;
+ TDEAction *saveAct;
+ TDEAction *openAct;
+ TDEAction *newAct;
+ TDEAction *saveAsAct;
+ TDEAction *addAct;
+ TDEAction *addAllAct;
+ TDEAction *removeAct;
+ TDEAction *randomAct;
+ TDEListAction *gradeAct;
int getCurrentGrade(void);
void setCurrentGrade(int grade);