summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 00:14:02 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 00:14:02 -0500
commitc3f2c830d0394a175f308b1866b09143e28b2fe0 (patch)
tree0cbb52aa3b8b12827d45cdda7fe8cd7907f3a3c9 /kwordquiz/src
parent33cecfe986fcea059c65f4e29a26bdeb074f4a70 (diff)
downloadtdeedu-c3f2c830d0394a175f308b1866b09143e28b2fe0.tar.gz
tdeedu-c3f2c830d0394a175f308b1866b09143e28b2fe0.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'kwordquiz/src')
-rw-r--r--kwordquiz/src/kwordquiz.cpp2
-rw-r--r--kwordquiz/src/kwordquiz.h6
-rw-r--r--kwordquiz/src/kwordquizdoc.h6
-rw-r--r--kwordquiz/src/kwordquizprefs.h4
-rw-r--r--kwordquiz/src/kwordquizview.cpp8
-rw-r--r--kwordquiz/src/kwordquizview.h8
-rw-r--r--kwordquiz/src/prefquiz.h4
-rw-r--r--kwordquiz/src/wqundo.h6
8 files changed, 22 insertions, 22 deletions
diff --git a/kwordquiz/src/kwordquiz.cpp b/kwordquiz/src/kwordquiz.cpp
index 654c21e0..a004094f 100644
--- a/kwordquiz/src/kwordquiz.cpp
+++ b/kwordquiz/src/kwordquiz.cpp
@@ -52,7 +52,7 @@
#define ID_MODE_1 1
-#define ID_MENU_TQUIZ 1001
+#define ID_MENU_QUIZ 1001
KWordQuizApp::KWordQuizApp(TQWidget* , const char* name):KMainWindow(0, name)
{
diff --git a/kwordquiz/src/kwordquiz.h b/kwordquiz/src/kwordquiz.h
index 910dc44c..5d3b7b61 100644
--- a/kwordquiz/src/kwordquiz.h
+++ b/kwordquiz/src/kwordquiz.h
@@ -15,8 +15,8 @@
* *
***************************************************************************/
-#ifndef KWORDTQUIZ_H
-#define KWORDTQUIZ_H
+#ifndef KWORDQUIZ_H
+#define KWORDQUIZ_H
#ifdef HAVE_CONFIG_H
@@ -320,4 +320,4 @@ class KWordQuizApp : public KMainWindow
void openURL(const KURL& url);
};
-#endif // KWORDTQUIZ_H
+#endif // KWORDQUIZ_H
diff --git a/kwordquiz/src/kwordquizdoc.h b/kwordquiz/src/kwordquizdoc.h
index e0fe29fb..7d81f976 100644
--- a/kwordquiz/src/kwordquizdoc.h
+++ b/kwordquiz/src/kwordquizdoc.h
@@ -15,8 +15,8 @@
* *
***************************************************************************/
-#ifndef KWORDTQUIZDOC_H
-#define KWORDTQUIZDOC_H
+#ifndef KWORDQUIZDOC_H
+#define KWORDQUIZDOC_H
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -93,4 +93,4 @@ class KWordQuizDoc : public TQObject
KWordQuizView *m_view;
};
-#endif // KWORDTQUIZDOC_H
+#endif // KWORDQUIZDOC_H
diff --git a/kwordquiz/src/kwordquizprefs.h b/kwordquiz/src/kwordquizprefs.h
index 54b85028..566604e7 100644
--- a/kwordquiz/src/kwordquizprefs.h
+++ b/kwordquiz/src/kwordquizprefs.h
@@ -15,8 +15,8 @@
* *
***************************************************************************/
-#ifndef KWORDTQUIZPREFS_H
-#define KWORDTQUIZPREFS_H
+#ifndef KWORDQUIZPREFS_H
+#define KWORDQUIZPREFS_H
#include <kconfigdialog.h>
diff --git a/kwordquiz/src/kwordquizview.cpp b/kwordquiz/src/kwordquizview.cpp
index bc66055c..bc6acc68 100644
--- a/kwordquiz/src/kwordquizview.cpp
+++ b/kwordquiz/src/kwordquizview.cpp
@@ -37,7 +37,7 @@
#include "dlgrc.h"
#include "dlgspecchar.h"
-TQValueList<WTQUndo> *KWordQuizView::m_undoList = 0L;
+TQValueList<WQUndo> *KWordQuizView::m_undoList = 0L;
KWTQTableItem::KWTQTableItem(TQTable* table, EditType et, const TQString & text) : TQTableItem(table, et, text)
{}
@@ -58,7 +58,7 @@ int KWTQTableItem::alignment() const
KWordQuizView::KWordQuizView(TQWidget *parent, const char *name) : TQTable(parent, name)
{
if(!m_undoList)
- m_undoList = new TQValueList<WTQUndo>();
+ m_undoList = new TQValueList<WQUndo>();
setNumCols(2);
setNumRows(50);
@@ -356,7 +356,7 @@ void KWordQuizView::doEditUndo( )
}
else
{
- WTQUndo undo;
+ WQUndo undo;
if (m_undoList->count() > 0)
{
setUpdatesEnabled(false);
@@ -966,7 +966,7 @@ void KWordQuizView::addUndo( const TQString & caption )
m_undoList->remove(m_undoList->begin());
}
- WTQUndo* undo = new WTQUndo();
+ WQUndo* undo = new WQUndo();
undo->setText(caption);
undo->setFont(font());
undo->setColWidth0(verticalHeader()->width());
diff --git a/kwordquiz/src/kwordquizview.h b/kwordquiz/src/kwordquizview.h
index 4176035c..6dfec55a 100644
--- a/kwordquiz/src/kwordquizview.h
+++ b/kwordquiz/src/kwordquizview.h
@@ -15,8 +15,8 @@
* *
***************************************************************************/
-#ifndef KWORDTQUIZVIEW_H
-#define KWORDTQUIZVIEW_H
+#ifndef KWORDQUIZVIEW_H
+#define KWORDQUIZVIEW_H
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -114,11 +114,11 @@ class KWordQuizView : public TQTable
DlgSpecChar* dlgSpecChar;
TQWidget * cellEditor;
/** the list of the undo objects */
- static TQValueList<WTQUndo> *m_undoList;
+ static TQValueList<WQUndo> *m_undoList;
void doNewPage(TQPainter & painter, int res, int type);
void doEndOfPage(TQPainter & painter, int vPos, int pageNum, int res, int type);
bool checkForBlank(const TQString & s, bool blank);
};
-#endif // KWORDTQUIZVIEW_H
+#endif // KWORDQUIZVIEW_H
diff --git a/kwordquiz/src/prefquiz.h b/kwordquiz/src/prefquiz.h
index 32073322..0ae8227b 100644
--- a/kwordquiz/src/prefquiz.h
+++ b/kwordquiz/src/prefquiz.h
@@ -16,8 +16,8 @@
Boston, MA 02110-1301, USA.
*/
-#ifndef PREFTQUIZ_H
-#define PREFTQUIZ_H
+#ifndef PREFQUIZ_H
+#define PREFQUIZ_H
#include "prefquizbase.h"
diff --git a/kwordquiz/src/wqundo.h b/kwordquiz/src/wqundo.h
index b0d584dd..d9b5e9c7 100644
--- a/kwordquiz/src/wqundo.h
+++ b/kwordquiz/src/wqundo.h
@@ -13,8 +13,8 @@
* (at your option) any later version. *
* *
***************************************************************************/
-#ifndef WTQUNDO_H
-#define WTQUNDO_H
+#ifndef WQUNDO_H
+#define WQUNDO_H
#include <tqtable.h>
@@ -23,7 +23,7 @@
/**
@author Peter Hedlund
*/
-class WTQUndo{
+class WQUndo{
public:
TQFont font() const {return m_font;}
void setFont(const TQFont & font) {m_font = font;}