summaryrefslogtreecommitdiffstats
path: root/konq-plugins/autorefresh/autorefresh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/autorefresh/autorefresh.cpp')
-rw-r--r--konq-plugins/autorefresh/autorefresh.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/autorefresh/autorefresh.cpp b/konq-plugins/autorefresh/autorefresh.cpp
index 64be883..bcb40f2 100644
--- a/konq-plugins/autorefresh/autorefresh.cpp
+++ b/konq-plugins/autorefresh/autorefresh.cpp
@@ -16,8 +16,8 @@
#include <tqtimer.h>
#include <kgenericfactory.h>
-AutoRefresh::AutoRefresh( TQObject* parent, const char* name, const TQStringList & /*args*/ )
- : Plugin( parent, name )
+AutoRefresh::AutoRefresh( TQObject* tqparent, const char* name, const TQStringList & /*args*/ )
+ : Plugin( tqparent, name )
{
timer = new TQTimer( this );
connect( timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotRefresh() ) );
@@ -85,7 +85,7 @@ void AutoRefresh::slotIntervalChanged()
void AutoRefresh::slotRefresh()
{
- if ( !parent()->inherits("KParts::ReadOnlyPart") ) {
+ if ( !tqparent()->inherits("KParts::ReadOnlyPart") ) {
TQString title = i18n( "Cannot Refresh Source" );
TQString text = i18n( "<qt>This plugin cannot auto-refresh the current part.</qt>" );
@@ -93,7 +93,7 @@ void AutoRefresh::slotRefresh()
}
else
{
- KParts::ReadOnlyPart *part = (KParts::ReadOnlyPart *) parent();
+ KParts::ReadOnlyPart *part = (KParts::ReadOnlyPart *) tqparent();
// Get URL
KURL url = part->url();