From 7346aee26bf190a7e70333c40fab4caca847cd27 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:22:56 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konq-plugins/autorefresh/autorefresh.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'konq-plugins/autorefresh/autorefresh.cpp') 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 #include #include -#include +#include #include -#include +#include #include -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( "This plugin cannot auto-refresh the current part." ); + TQString title = i18n( "Cannot Refresh Source" ); + TQString text = i18n( "This plugin cannot auto-refresh the current part." ); - QMessageBox::warning( 0, title, text ); + TQMessageBox::warning( 0, title, text ); } else { -- cgit v1.2.1