summaryrefslogtreecommitdiffstats
path: root/konq-plugins/autorefresh
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/autorefresh')
-rw-r--r--konq-plugins/autorefresh/autorefresh.cpp20
-rw-r--r--konq-plugins/autorefresh/autorefresh.h4
2 files changed, 12 insertions, 12 deletions
diff --git a/konq-plugins/autorefresh/autorefresh.cpp b/konq-plugins/autorefresh/autorefresh.cpp
index 6d06ea0..64be883 100644
--- a/konq-plugins/autorefresh/autorefresh.cpp
+++ b/konq-plugins/autorefresh/autorefresh.cpp
@@ -11,22 +11,22 @@
#include <kaction.h>
#include <kinstance.h>
#include <kiconloader.h>
-#include <qmessagebox.h>
+#include <tqmessagebox.h>
#include <klocale.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kgenericfactory.h>
-AutoRefresh::AutoRefresh( QObject* parent, const char* name, const QStringList & /*args*/ )
+AutoRefresh::AutoRefresh( TQObject* parent, const char* name, const TQStringList & /*args*/ )
: Plugin( parent, name )
{
- timer = new QTimer( this );
- connect( timer, SIGNAL( timeout() ), this, SLOT( slotRefresh() ) );
+ timer = new TQTimer( this );
+ connect( timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotRefresh() ) );
refresher = new KSelectAction( i18n("&Auto Refresh"),
"reload", 0,
- this, SLOT(slotIntervalChanged()),
+ this, TQT_SLOT(slotIntervalChanged()),
actionCollection(), "autorefresh" );
- QStringList sl;
+ TQStringList sl;
sl << i18n("None");
sl << i18n("Every 15 Seconds");
sl << i18n("Every 30 Seconds");
@@ -86,10 +86,10 @@ void AutoRefresh::slotIntervalChanged()
void AutoRefresh::slotRefresh()
{
if ( !parent()->inherits("KParts::ReadOnlyPart") ) {
- QString title = i18n( "Cannot Refresh Source" );
- QString text = i18n( "<qt>This plugin cannot auto-refresh the current part.</qt>" );
+ TQString title = i18n( "Cannot Refresh Source" );
+ TQString text = i18n( "<qt>This plugin cannot auto-refresh the current part.</qt>" );
- QMessageBox::warning( 0, title, text );
+ TQMessageBox::warning( 0, title, text );
}
else
{
diff --git a/konq-plugins/autorefresh/autorefresh.h b/konq-plugins/autorefresh/autorefresh.h
index 370e42b..7616382 100644
--- a/konq-plugins/autorefresh/autorefresh.h
+++ b/konq-plugins/autorefresh/autorefresh.h
@@ -36,7 +36,7 @@ public:
/**
* Construct a new KParts plugin.
*/
- AutoRefresh( QObject* parent = 0, const char* name = 0, const QStringList &args = QStringList() );
+ AutoRefresh( TQObject* parent = 0, const char* name = 0, const TQStringList &args = TQStringList() );
/**
* Destructor.
@@ -49,7 +49,7 @@ public slots:
private:
KSelectAction *refresher;
- QTimer *timer;
+ TQTimer *timer;
};
#endif