summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 13:26:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-08 13:50:14 +0900
commit4f622a40c9317344d8d2e98ec85c19b783923133 (patch)
treef0a9c9fce29e0efefab07ffdbf82ed688faf0225 /plugin
parent5bbf72161272557c243ac0bfd6935b058fe8dd17 (diff)
downloadsmb4k-4f622a40c9317344d8d2e98ec85c19b783923133.tar.gz
smb4k-4f622a40c9317344d8d2e98ec85c19b783923133.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/smb4k_konqplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/smb4k_konqplugin.cpp b/plugin/smb4k_konqplugin.cpp
index fa71d4b..c30280d 100644
--- a/plugin/smb4k_konqplugin.cpp
+++ b/plugin/smb4k_konqplugin.cpp
@@ -78,7 +78,7 @@ KonqSidebar_Smb4K::KonqSidebar_Smb4K(TDEInstance *inst,TQObject *parent,TQWidget
if ( browser_factory )
{
- m_browser_part = static_cast<KParts::Part *>( browser_factory->create( TQT_TQOBJECT(widget), "BrowserPart", "KParts::Part", TQStringList( "konqplugin=\"true\"" ) ) );
+ m_browser_part = static_cast<KParts::Part *>( browser_factory->create( widget, "BrowserPart", "KParts::Part", TQStringList( "konqplugin=\"true\"" ) ) );
// Do nothing here. The network scan (and the mounting of recently used
// shares) will be done by Smb4KCore::init() below.
@@ -151,7 +151,7 @@ void KonqSidebar_Smb4K::slotSearch()
TQFrame *frame = searchDialog->plainPage();
- m_search_part = static_cast<KParts::Part *>( search_factory->create( TQT_TQOBJECT(frame), "SearchDialogPart", "KParts::Part" ) );
+ m_search_part = static_cast<KParts::Part *>( search_factory->create( frame, "SearchDialogPart", "KParts::Part" ) );
if ( m_search_part )
{
@@ -188,7 +188,7 @@ void KonqSidebar_Smb4K::slotSmb4KOptionsDlg()
if ( config_factory )
{
- TDEConfigDialog *dlg = static_cast<TDEConfigDialog *>( TQT_TQWIDGET(config_factory->create( TQT_TQOBJECT(widget), "ConfigDialog", "TDEConfigDialog" )) );
+ TDEConfigDialog *dlg = static_cast<TDEConfigDialog *>( config_factory->create( widget, "ConfigDialog", "TDEConfigDialog" ) );
if ( dlg )
{