summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/displaywindow/creadwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/frontend/displaywindow/creadwindow.cpp')
-rw-r--r--bibletime/frontend/displaywindow/creadwindow.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/bibletime/frontend/displaywindow/creadwindow.cpp b/bibletime/frontend/displaywindow/creadwindow.cpp
index d1bcd11..ccd78e3 100644
--- a/bibletime/frontend/displaywindow/creadwindow.cpp
+++ b/bibletime/frontend/displaywindow/creadwindow.cpp
@@ -55,24 +55,24 @@ CReadDisplay* const CReadWindow::displayWidget() {
void CReadWindow::setDisplayWidget( CReadDisplay* newDisplay ) {
CDisplayWindow::setDisplayWidget(newDisplay);
if (m_displayWidget) {
- disconnect(m_displayWidget->connectionsProxy(), SIGNAL(referenceClicked(const QString&, const QString&)), this, SLOT(lookup(const QString&, const QString&)));
+ disconnect(m_displayWidget->connectionsProxy(), TQT_SIGNAL(referenceClicked(const TQString&, const TQString&)), this, TQT_SLOT(lookup(const TQString&, const TQString&)));
- disconnect(m_displayWidget->connectionsProxy(), SIGNAL(referenceDropped(const QString&)), this, SLOT(lookup(const QString&)));
+ disconnect(m_displayWidget->connectionsProxy(), TQT_SIGNAL(referenceDropped(const TQString&)), this, TQT_SLOT(lookup(const TQString&)));
}
m_displayWidget = newDisplay;
connect(
m_displayWidget->connectionsProxy(),
- SIGNAL(referenceClicked(const QString&, const QString&)),
+ TQT_SIGNAL(referenceClicked(const TQString&, const TQString&)),
this,
- SLOT(lookup(const QString&, const QString&))
+ TQT_SLOT(lookup(const TQString&, const TQString&))
);
connect(
m_displayWidget->connectionsProxy(),
- SIGNAL(referenceDropped(const QString&)),
+ TQT_SIGNAL(referenceDropped(const TQString&)),
this,
- SLOT(lookup(const QString&))
+ TQT_SLOT(lookup(const TQString&))
);
}
@@ -113,7 +113,7 @@ void CReadWindow::lookup( CSwordKey* newKey ) {
/** Store the settings of this window in the given CProfileWindow object. */
void CReadWindow::storeProfileSettings(CProfileWindow * const settings) {
- QRect rect;
+ TQRect rect;
rect.setX(parentWidget()->x());
rect.setY(parentWidget()->y());
rect.setWidth(width());
@@ -127,9 +127,9 @@ void CReadWindow::storeProfileSettings(CProfileWindow * const settings) {
if (key()) {
sword::VerseKey* vk = dynamic_cast<sword::VerseKey*>(key());
- QString oldLang;
+ TQString oldLang;
if (vk) {
- oldLang = QString(vk->getLocale());
+ oldLang = TQString(vk->getLocale());
vk->setLocale("en"); //save english locale names as default!
}
settings->setKey( key()->key() );
@@ -138,7 +138,7 @@ void CReadWindow::storeProfileSettings(CProfileWindow * const settings) {
}
}
- QStringList mods;
+ TQStringList mods;
ListCSwordModuleInfo allMods = modules();
ListCSwordModuleInfo::iterator end_it = allMods.end();
@@ -157,7 +157,7 @@ void CReadWindow::applyProfileSettings(CProfileWindow * const settings) {
parentWidget()->showMaximized();
}
else {
- const QRect rect = settings->geometry();
+ const TQRect rect = settings->geometry();
resize(rect.width(), rect.height());
parentWidget()->move(rect.x(), rect.y());
}
@@ -169,15 +169,15 @@ void CReadWindow::insertKeyboardActions( KActionCollection* const ) {}
/** No descriptions */
void CReadWindow::copyDisplayedText() {
- CExportManager mgr(QString::null);
+ CExportManager mgr(TQString::null);
mgr.copyKey(key(), CExportManager::Text, true);
}
/*!
- \fn CReadWindow::resizeEvent(QResizeEvent* e)
+ \fn CReadWindow::resizeEvent(TQResizeEvent* e)
*/
-void CReadWindow::resizeEvent(QResizeEvent* /*e*/) {
+void CReadWindow::resizeEvent(TQResizeEvent* /*e*/) {
displayWidget()->moveToAnchor(
Rendering::CDisplayRendering::keyToHTMLAnchor(key()->key())
);
@@ -185,9 +185,9 @@ void CReadWindow::resizeEvent(QResizeEvent* /*e*/) {
void CReadWindow::openSearchStrongsDialog() {
// qWarning("looking for lemma %s", displayWidget()->getCurrentNodeInfo()[CDisplay::Lemma].latin1() );
- QString searchText = QString::null;
+ TQString searchText = TQString::null;
- if (displayWidget()->getCurrentNodeInfo()[CDisplay::Lemma] != QString::null) {
+ if (displayWidget()->getCurrentNodeInfo()[CDisplay::Lemma] != TQString::null) {
searchText.append("strong:").append(displayWidget()->getCurrentNodeInfo() [CDisplay::Lemma]);
}