summaryrefslogtreecommitdiffstats
path: root/konq-plugins/autorefresh
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
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')
-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