summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:33:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:33:07 +0900
commit1d421717fba9b8ea1ca121a58e1023b8a6a8871b (patch)
treee7eb265452a2256eaa58410728b576eae99f888b
parent3b66617d9d5f343c30a87381720db2fc835ce52b (diff)
downloadtdepim-1d421717fba9b8ea1ca121a58e1023b8a6a8871b.tar.gz
tdepim-1d421717fba9b8ea1ca121a58e1023b8a6a8871b.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kmail/headerlistquicksearch.cpp2
-rw-r--r--kmail/kmcomposewin.cpp16
-rw-r--r--kmail/kmkernel.cpp2
-rw-r--r--kmail/kmmainwin.cpp2
-rw-r--r--kmail/searchwindow.cpp2
-rw-r--r--knotes/knoteconfigdlg.cpp2
-rw-r--r--tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp2
7 files changed, 14 insertions, 14 deletions
diff --git a/kmail/headerlistquicksearch.cpp b/kmail/headerlistquicksearch.cpp
index 86027863d..210b91b92 100644
--- a/kmail/headerlistquicksearch.cpp
+++ b/kmail/headerlistquicksearch.cpp
@@ -117,7 +117,7 @@ bool HeaderListQuickSearch::eventFilter( TQObject *watched, TQEvent *event )
// Travel up the parents list until we find the main widget
for ( TQWidget *curWidget = parentWidget(); curWidget; curWidget = curWidget->parentWidget() ) {
- mainWidget = ::tqqt_cast<KMMainWidget *>( curWidget );
+ mainWidget = ::tqt_cast<KMMainWidget *>( curWidget );
if ( mainWidget )
break;
}
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index dc48dcbbe..473d454f8 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -3789,9 +3789,9 @@ void KMComposeWin::slotUndo()
TQWidget* fw = focusWidget();
if (!fw) return;
- if ( ::tqqt_cast<KEdit*>(fw) )
+ if ( ::tqt_cast<KEdit*>(fw) )
static_cast<TQTextEdit*>(fw)->undo();
- else if (::tqqt_cast<TQLineEdit*>(fw))
+ else if (::tqt_cast<TQLineEdit*>(fw))
static_cast<TQLineEdit*>(fw)->undo();
}
@@ -3800,9 +3800,9 @@ void KMComposeWin::slotRedo()
TQWidget* fw = focusWidget();
if (!fw) return;
- if (::tqqt_cast<KEdit*>(fw))
+ if (::tqt_cast<KEdit*>(fw))
static_cast<KEdit*>(fw)->redo();
- else if (::tqqt_cast<TQLineEdit*>(fw))
+ else if (::tqt_cast<TQLineEdit*>(fw))
static_cast<TQLineEdit*>(fw)->redo();
}
@@ -3812,9 +3812,9 @@ void KMComposeWin::slotCut()
TQWidget* fw = focusWidget();
if (!fw) return;
- if (::tqqt_cast<KEdit*>(fw))
+ if (::tqt_cast<KEdit*>(fw))
static_cast<KEdit*>(fw)->cut();
- else if (::tqqt_cast<TQLineEdit*>(fw))
+ else if (::tqt_cast<TQLineEdit*>(fw))
static_cast<TQLineEdit*>(fw)->cut();
}
@@ -3888,9 +3888,9 @@ void KMComposeWin::slotMarkAll()
TQWidget* fw = focusWidget();
if (!fw) return;
- if (::tqqt_cast<TQLineEdit*>(fw))
+ if (::tqt_cast<TQLineEdit*>(fw))
static_cast<TQLineEdit*>(fw)->selectAll();
- else if (::tqqt_cast<KEdit*>(fw))
+ else if (::tqt_cast<KEdit*>(fw))
static_cast<KEdit*>(fw)->selectAll();
}
diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp
index cfb28ab2c..473188e6f 100644
--- a/kmail/kmkernel.cpp
+++ b/kmail/kmkernel.cpp
@@ -1982,7 +1982,7 @@ void KMKernel::dumpDeadLetters()
return;
for ( TQPtrListIterator<TDEMainWindow> it(*TDEMainWindow::memberList) ; it.current() != 0; ++it ) {
- if ( KMail::Composer * win = ::tqqt_cast<KMail::Composer*>( it.current() ) ) {
+ if ( KMail::Composer * win = ::tqt_cast<KMail::Composer*>( it.current() ) ) {
win->autoSaveMessage();
// saving the message has to be finished right here, we are called from a dtor,
// therefore we have no chance to finish this later
diff --git a/kmail/kmmainwin.cpp b/kmail/kmmainwin.cpp
index bfc0be0c8..cdd76a04e 100644
--- a/kmail/kmmainwin.cpp
+++ b/kmail/kmmainwin.cpp
@@ -96,7 +96,7 @@ KMMainWin::~KMMainWin()
if ( !it.current()->isHidden() &&
it.current()->isTopLevel() &&
it.current() != this &&
- ::tqqt_cast<KMMainWin *>( it.current() )
+ ::tqt_cast<KMMainWin *>( it.current() )
)
not_withdrawn++;
}
diff --git a/kmail/searchwindow.cpp b/kmail/searchwindow.cpp
index f5ecf155d..940350590 100644
--- a/kmail/searchwindow.cpp
+++ b/kmail/searchwindow.cpp
@@ -188,7 +188,7 @@ SearchWindow::SearchWindow(KMMainWidget* w, const char* name,
if ( list )
object = list->first();
delete list;
- if (!searchFolder && object && ::tqqt_cast<TQComboBox*>(object))
+ if (!searchFolder && object && ::tqt_cast<TQComboBox*>(object))
static_cast<TQComboBox*>(TQT_TQWIDGET(object))->setCurrentText(i18n("Subject"));
vbl->addWidget( mPatternEdit );
diff --git a/knotes/knoteconfigdlg.cpp b/knotes/knoteconfigdlg.cpp
index bd388c389..60f7a539c 100644
--- a/knotes/knoteconfigdlg.cpp
+++ b/knotes/knoteconfigdlg.cpp
@@ -81,7 +81,7 @@ KNoteConfigDlg::~KNoteConfigDlg()
void KNoteConfigDlg::slotUpdateCaption()
{
- KNote *note = ::tqqt_cast<KNote *>(sender());
+ KNote *note = ::tqt_cast<KNote *>(sender());
if ( note )
setCaption( note->name() );
}
diff --git a/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp b/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp
index cb9f44936..9371ef590 100644
--- a/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp
+++ b/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp
@@ -123,7 +123,7 @@ void ResourceGroupwiseConfig::slotViewUserSettings()
if ( s )
{
- KDialogBase * dialog = new KDialogBase( ::tqqt_cast<TQWidget*>(parent() ), "gwsettingswidget", true, i18n( "GroupWise Settings" ) );
+ KDialogBase * dialog = new KDialogBase( ::tqt_cast<TQWidget*>(parent() ), "gwsettingswidget", true, i18n( "GroupWise Settings" ) );
// TQVBoxLayout * layout = new TQVBoxLayout( dialog );
GroupWiseSettingsWidget * settingsWidget = new GroupWiseSettingsWidget( dialog );
dialog->setMainWidget( settingsWidget );