summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/kwordquiz.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 /kwordquiz/src/kwordquiz.h
parent088cc453ec425bf86d610880d09645ea166a14fa (diff)
downloadtdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz
tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kwordquiz/src/kwordquiz.h')
-rw-r--r--kwordquiz/src/kwordquiz.h128
1 files changed, 64 insertions, 64 deletions
diff --git a/kwordquiz/src/kwordquiz.h b/kwordquiz/src/kwordquiz.h
index c04cd92f..86d4772b 100644
--- a/kwordquiz/src/kwordquiz.h
+++ b/kwordquiz/src/kwordquiz.h
@@ -48,16 +48,16 @@ class KWQNewStuff;
* window and reads the config file as well as providing a menubar, toolbar
* and statusbar. An instance of KWordQuizView creates your center view, which is connected
* to the window's Doc object.
- * KWordQuizApp reimplements the methods that KMainWindow provides for main window handling and supports
- * full session management as well as using KActions.
- * @see KMainWindow
+ * KWordQuizApp reimplements the methods that TDEMainWindow provides for main window handling and supports
+ * full session management as well as using TDEActions.
+ * @see TDEMainWindow
* @see TDEApplication
* @see TDEConfig
*
* @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
* @version KDevelop version 1.2 code generation
*/
-class KWordQuizApp : public KMainWindow
+class KWordQuizApp : public TDEMainWindow
{
Q_OBJECT
@@ -86,7 +86,7 @@ class KWordQuizApp : public KMainWindow
/** read general Options again and initialize all variables like the recent file list
*/
void readOptions();
- /** initializes the KActions of the application */
+ /** initializes the TDEActions of the application */
void initActions();
/** sets up the statusbar for the main window by initialzing a statuslabel.
@@ -222,7 +222,7 @@ class KWordQuizApp : public KMainWindow
void slotInsertChar(int i);
- void slotActionHighlighted(KAction *, bool);
+ void slotActionHighlighted(TDEAction *, bool);
void slotContextMenuRequested(int, int, const TQPoint &);
private:
@@ -248,66 +248,66 @@ class KWordQuizApp : public KMainWindow
*/
KWordQuizDoc *doc;
- // KAction pointers to enable/disable actions
- KAction* fileNew;
- KAction* fileOpen;
- KRecentFilesAction* fileOpenRecent;
- KAction* fileGHNS;
- KAction* fileSave;
- KAction* fileSaveAs;
- KAction* fileClose;
- KAction* filePrint;
- KAction* fileQuit;
-
- KAction* editUndo;
- KAction* editCut;
- KAction* editCopy;
- KAction* editPaste;
- KAction* editClear;
- KAction* editInsert;
- KAction* editDelete;
- KAction* editMarkBlank;
- KAction* editUnmarkBlank;
- //KAction* editFind;
-
- KAction* vocabLanguages;
- KAction* vocabFont;
- //KAction* vocabKeyboard;
- KAction* vocabRC;
- KAction* vocabSort;
- KAction* vocabShuffle;
-
- KToolBarPopupAction* mode;
- KToggleAction* mode1;
- KToggleAction* mode2;
- KToggleAction* mode3;
- KToggleAction* mode4;
- KToggleAction* mode5;
-
- KAction* quizEditor;
- KAction* quizFlash;
- KAction* quizMultiple;
- KAction* quizQA;
-
- KAction* quizCheck;
- KAction* quizRestart;
- KAction* quizRepeatErrors;
-
- KAction* flashKnow;
- KAction* flashDontKnow;
-
- KAction* qaHint;
+ // TDEAction pointers to enable/disable actions
+ TDEAction* fileNew;
+ TDEAction* fileOpen;
+ TDERecentFilesAction* fileOpenRecent;
+ TDEAction* fileGHNS;
+ TDEAction* fileSave;
+ TDEAction* fileSaveAs;
+ TDEAction* fileClose;
+ TDEAction* filePrint;
+ TDEAction* fileQuit;
+
+ TDEAction* editUndo;
+ TDEAction* editCut;
+ TDEAction* editCopy;
+ TDEAction* editPaste;
+ TDEAction* editClear;
+ TDEAction* editInsert;
+ TDEAction* editDelete;
+ TDEAction* editMarkBlank;
+ TDEAction* editUnmarkBlank;
+ //TDEAction* editFind;
+
+ TDEAction* vocabLanguages;
+ TDEAction* vocabFont;
+ //TDEAction* vocabKeyboard;
+ TDEAction* vocabRC;
+ TDEAction* vocabSort;
+ TDEAction* vocabShuffle;
+
+ TDEToolBarPopupAction* mode;
+ TDEToggleAction* mode1;
+ TDEToggleAction* mode2;
+ TDEToggleAction* mode3;
+ TDEToggleAction* mode4;
+ TDEToggleAction* mode5;
+
+ TDEAction* quizEditor;
+ TDEAction* quizFlash;
+ TDEAction* quizMultiple;
+ TDEAction* quizQA;
+
+ TDEAction* quizCheck;
+ TDEAction* quizRestart;
+ TDEAction* quizRepeatErrors;
+
+ TDEAction* flashKnow;
+ TDEAction* flashDontKnow;
+
+ TDEAction* qaHint;
TQSignalMapper* charMapper;
- KAction* specialChar1;
- KAction* specialChar2;
- KAction* specialChar3;
- KAction* specialChar4;
- KAction* specialChar5;
- KAction* specialChar6;
- KAction* specialChar7;
- KAction* specialChar8;
- KAction* specialChar9;
+ TDEAction* specialChar1;
+ TDEAction* specialChar2;
+ TDEAction* specialChar3;
+ TDEAction* specialChar4;
+ TDEAction* specialChar5;
+ TDEAction* specialChar6;
+ TDEAction* specialChar7;
+ TDEAction* specialChar8;
+ TDEAction* specialChar9;
KDirWatch * m_dirWatch;
KWQNewStuff * m_newStuff;