summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:11 +0900
commitd4040cfd7374195819e8caa9724c3c582f987b5b (patch)
tree919af29ea07e9cb401decce3cb40689b26870c90
parent681b905a28a095d19cb2f8e50236d5e8d3ce716f (diff)
downloadtdeaddons-d4040cfd7374195819e8caa9724c3c582f987b5b.tar.gz
tdeaddons-d4040cfd7374195819e8caa9724c3c582f987b5b.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--konq-plugins/dirfilter/dirfilterplugin.cpp24
-rw-r--r--konq-plugins/domtreeviewer/domtreewindow.cpp2
-rw-r--r--konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp2
-rw-r--r--konq-plugins/rsync/rsyncplugin.cpp2
-rw-r--r--konq-plugins/searchbar/searchbar.cpp2
5 files changed, 16 insertions, 16 deletions
diff --git a/konq-plugins/dirfilter/dirfilterplugin.cpp b/konq-plugins/dirfilter/dirfilterplugin.cpp
index 515bf12..5b9a8e7 100644
--- a/konq-plugins/dirfilter/dirfilterplugin.cpp
+++ b/konq-plugins/dirfilter/dirfilterplugin.cpp
@@ -146,7 +146,7 @@ DirFilterPlugin::DirFilterPlugin (TQObject* parent, const char* name,
:KParts::Plugin (parent, name),
m_oldFilterString("")
{
- m_part = ::tqqt_cast<KonqDirPart*>(parent);
+ m_part = ::tqt_cast<KonqDirPart*>(parent);
if ( !m_part || !m_part->scrollWidget() )
return;
@@ -179,12 +179,12 @@ DirFilterPlugin::DirFilterPlugin (TQObject* parent, const char* name,
clear->setWhatsThis(i18n("Clear filter field<p>Clears the content of the filter field."));
- if ( ::tqqt_cast<TDEListView*>(m_part->scrollWidget()) )
+ if ( ::tqt_cast<TDEListView*>(m_part->scrollWidget()) )
{
m_searchWidget = new TDEListViewSearchLine(hbox);
static_cast<TDEListViewSearchLine*>(m_searchWidget)->setListView(static_cast<TDEListView*>(m_part->scrollWidget()));
}
- else if ( ::tqqt_cast<TQIconView*>(m_part->scrollWidget()) )
+ else if ( ::tqt_cast<TQIconView*>(m_part->scrollWidget()) )
{
m_searchWidget = new TDEIconViewSearchLine(hbox);
static_cast<TDEIconViewSearchLine*>(m_searchWidget)->setIconView(static_cast<TQIconView*>(m_part->scrollWidget()));
@@ -463,7 +463,7 @@ void DirFilterPlugin::slotItemRemoved(const KFileItem* item)
// NOTE: This bug is NOT present in qlistviewitem
// HACK around it here...
- if ( ::tqqt_cast<TQIconView*>(m_part->scrollWidget()) ) {
+ if ( ::tqt_cast<TQIconView*>(m_part->scrollWidget()) ) {
static_cast<TDEIconViewSearchLine*>(m_searchWidget)->iconDeleted(item->name());
}
@@ -495,27 +495,27 @@ void DirFilterPlugin::slotItemsRefresh(const KFileItemList &list)
m_pFilterMenu->setEnabled (m_part->nameFilter().isEmpty());
return;
}
- if ( ::tqqt_cast<TDEListView*>(m_part->scrollWidget()) )
+ if ( ::tqt_cast<TDEListView*>(m_part->scrollWidget()) )
{
static_cast<TDEListViewSearchLine*>(m_searchWidget)->updateSearch();
}
- else if ( ::tqqt_cast<TQIconView*>(m_part->scrollWidget()) )
+ else if ( ::tqt_cast<TQIconView*>(m_part->scrollWidget()) )
{
static_cast<TDEIconViewSearchLine*>(m_searchWidget)->updateSearch();
}
TQMap<TQString,bool> itemsMap;
- if (::tqqt_cast<TDEListView*>(m_part->scrollWidget()))
+ if (::tqt_cast<TDEListView*>(m_part->scrollWidget()))
{
- TQListView *listview = ::tqqt_cast<TDEListView*>(m_part->scrollWidget());
+ TQListView *listview = ::tqt_cast<TDEListView*>(m_part->scrollWidget());
for (TQListViewItemIterator lv_it(listview); lv_it.current(); ++lv_it)
{
itemsMap.insert(lv_it.current()->text(0), false);
}
}
- else if ( ::tqqt_cast<TQIconView*>(m_part->scrollWidget()) )
+ else if ( ::tqt_cast<TQIconView*>(m_part->scrollWidget()) )
{
- TQIconView *iconview = ::tqqt_cast<TQIconView*>(m_part->scrollWidget());
+ TQIconView *iconview = ::tqt_cast<TQIconView*>(m_part->scrollWidget());
for (TQIconViewItem *item = iconview->firstItem(); item; item = item->nextItem())
{
itemsMap.insert(item->text(), false);
@@ -599,10 +599,10 @@ void DirFilterPlugin::activateSearch()
m_oldFilterString = m_searchWidget->text();
- if ( ::tqqt_cast<TDEListView*>(m_part->scrollWidget()) ) {
+ if ( ::tqt_cast<TDEListView*>(m_part->scrollWidget()) ) {
static_cast<TDEListViewSearchLine*>(m_searchWidget)->updateSearch();
}
- else if ( ::tqqt_cast<TQIconView*>(m_part->scrollWidget()) ) {
+ else if ( ::tqt_cast<TQIconView*>(m_part->scrollWidget()) ) {
static_cast<TDEIconViewSearchLine*>(m_searchWidget)->updateSearch();
}
}
diff --git a/konq-plugins/domtreeviewer/domtreewindow.cpp b/konq-plugins/domtreeviewer/domtreewindow.cpp
index 9c9933f..59628b4 100644
--- a/konq-plugins/domtreeviewer/domtreewindow.cpp
+++ b/konq-plugins/domtreeviewer/domtreewindow.cpp
@@ -356,7 +356,7 @@ void DOMTreeWindow::slotActivePartChanged(KParts::Part *p)
m_commandHistory->clear();
view()->disconnectFromTornDownPart();
- view()->setHtmlPart(::tqqt_cast<TDEHTMLPart *>(p));
+ view()->setHtmlPart(::tqt_cast<TDEHTMLPart *>(p));
}
void DOMTreeWindow::slotPartRemoved(KParts::Part *p)
diff --git a/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp b/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp
index e8c3591..d0e8862 100644
--- a/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp
+++ b/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp
@@ -38,7 +38,7 @@ void PluginDomtreeviewer::slotShowDOMTree()
delete m_dialog;
Q_ASSERT((DOMTreeWindow *)m_dialog == (DOMTreeWindow *)0);
}
- if (TDEHTMLPart *part = ::tqqt_cast<TDEHTMLPart *>(parent()))
+ if (TDEHTMLPart *part = ::tqt_cast<TDEHTMLPart *>(parent()))
{
m_dialog = new DOMTreeWindow(this);
connect( m_dialog, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
diff --git a/konq-plugins/rsync/rsyncplugin.cpp b/konq-plugins/rsync/rsyncplugin.cpp
index f0b6d2c..7e53571 100644
--- a/konq-plugins/rsync/rsyncplugin.cpp
+++ b/konq-plugins/rsync/rsyncplugin.cpp
@@ -73,7 +73,7 @@ RsyncPlugin::RsyncPlugin (TQObject* parent, const char* name,
m_pSyncNow(0),
m_pSyncSetup(0)
{
- m_part = ::tqqt_cast<KonqDirPart*>(parent);
+ m_part = ::tqt_cast<KonqDirPart*>(parent);
if ( !m_part || !m_part->scrollWidget() )
return;
diff --git a/konq-plugins/searchbar/searchbar.cpp b/konq-plugins/searchbar/searchbar.cpp
index cc52144..397215f 100644
--- a/konq-plugins/searchbar/searchbar.cpp
+++ b/konq-plugins/searchbar/searchbar.cpp
@@ -515,7 +515,7 @@ void SearchBarPlugin::configurationChanged()
void SearchBarPlugin::partChanged(KParts::Part *newPart)
{
- m_part = ::tqqt_cast<TDEHTMLPart*>(newPart);
+ m_part = ::tqt_cast<TDEHTMLPart*>(newPart);
//Delay since when destroying tabs part 0 gets activated for a bit, before the proper part
TQTimer::singleShot(0, this, TQT_SLOT(updateComboVisibility()));