diff options
Diffstat (limited to 'konq-plugins/autorefresh/autorefresh.cpp')
-rw-r--r-- | konq-plugins/autorefresh/autorefresh.cpp | 20 |
1 files changed, 10 insertions, 10 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 { |