summaryrefslogtreecommitdiffstats
path: root/konq-plugins/autorefresh/autorefresh.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/autorefresh/autorefresh.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/autorefresh/autorefresh.cpp')
-rw-r--r--konq-plugins/autorefresh/autorefresh.cpp20
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
{