summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/keychooser/ckeychooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/frontend/keychooser/ckeychooser.cpp')
-rw-r--r--bibletime/frontend/keychooser/ckeychooser.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/bibletime/frontend/keychooser/ckeychooser.cpp b/bibletime/frontend/keychooser/ckeychooser.cpp
index 4dcd878..0db5911 100644
--- a/bibletime/frontend/keychooser/ckeychooser.cpp
+++ b/bibletime/frontend/keychooser/ckeychooser.cpp
@@ -19,13 +19,13 @@
#include "cbiblekeychooser.h"
#include "cbookkeychooser.h"
-CKeyChooser::CKeyChooser(ListCSwordModuleInfo, CSwordKey *, QWidget *parent, const char *name )
-: QWidget(parent, name),
+CKeyChooser::CKeyChooser(ListCSwordModuleInfo, CSwordKey *, TQWidget *parent, const char *name )
+: TQWidget(parent, name),
m_inHistoryFunction(false) {}
CKeyChooser::~CKeyChooser() {}
-CKeyChooser* CKeyChooser::createInstance(ListCSwordModuleInfo modules, CSwordKey *key, QWidget *parent) {
+CKeyChooser* CKeyChooser::createInstance(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent) {
if (!modules.count()) {
return 0;
}
@@ -58,7 +58,7 @@ void CKeyChooser::backInHistory(int count) {
Q_ASSERT(m_prevKeyHistoryList.size());
- QStringList::iterator it = m_prevKeyHistoryList.begin();
+ TQStringList::iterator it = m_prevKeyHistoryList.begin();
//pop_front count items, the top item is then the new current key
int index = count;
@@ -90,7 +90,7 @@ void CKeyChooser::forwardInHistory(int count) {
Q_ASSERT(m_nextKeyHistoryList.size());
- QStringList::iterator it = m_nextKeyHistoryList.begin();
+ TQStringList::iterator it = m_nextKeyHistoryList.begin();
//pop_front count-1 items, the top item is then the new current key
int index = count;
while (index > 0 && it != m_nextKeyHistoryList.end()) {
@@ -124,8 +124,8 @@ void CKeyChooser::addToHistory(CSwordKey* k) {
emit historyChanged();
}
-const QStringList CKeyChooser::getPreviousKeys() const {
- QStringList ret = m_prevKeyHistoryList;
+const TQStringList CKeyChooser::getPreviousKeys() const {
+ TQStringList ret = m_prevKeyHistoryList;
if (ret.size() >= 1) {
ret.pop_front(); //the first item always is equal to the current key
}
@@ -133,7 +133,7 @@ const QStringList CKeyChooser::getPreviousKeys() const {
return ret;
}
-const QStringList CKeyChooser::getNextKeys() const {
+const TQStringList CKeyChooser::getNextKeys() const {
return m_nextKeyHistoryList;
}
@@ -142,8 +142,8 @@ const QStringList CKeyChooser::getNextKeys() const {
\fn CKeyChooser::polish()
*/
void CKeyChooser::polish() {
- QWidget::polish();
+ TQWidget::polish();
//connect the history calls just before we show, we want an empty history
- connect(this, SIGNAL(keyChanged(CSwordKey*)), SLOT(addToHistory(CSwordKey*)));
+ connect(this, TQT_SIGNAL(keyChanged(CSwordKey*)), TQT_SLOT(addToHistory(CSwordKey*)));
}