summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/timestamp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/timestamp.cpp')
-rw-r--r--kdevdesigner/designer/timestamp.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdevdesigner/designer/timestamp.cpp b/kdevdesigner/designer/timestamp.cpp
index 9cda96e6..e7267b40 100644
--- a/kdevdesigner/designer/timestamp.cpp
+++ b/kdevdesigner/designer/timestamp.cpp
@@ -25,26 +25,26 @@
**********************************************************************/
#include "timestamp.h"
-#include <qfile.h>
-#include <qfileinfo.h>
+#include <tqfile.h>
+#include <tqfileinfo.h>
class QTimer;
-TimeStamp::TimeStamp( QObject *parent, const QString &f )
- : QObject( parent ), filename( f ), autoCheck( FALSE )
+TimeStamp::TimeStamp( TQObject *parent, const TQString &f )
+ : TQObject( parent ), filename( f ), autoCheck( FALSE )
{
- timer = new QTimer( this );
- connect( timer, SIGNAL( timeout() ), this, SLOT( autoCheckTimeStamp() ) );
+ timer = new TQTimer( this );
+ connect( timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( autoCheckTimeStamp() ) );
update();
}
-void TimeStamp::setFileName( const QString &f )
+void TimeStamp::setFileName( const TQString &f )
{
filename = f;
update();
}
-QString TimeStamp::fileName() const
+TQString TimeStamp::fileName() const
{
return filename;
}
@@ -60,18 +60,18 @@ void TimeStamp::setAutoCheckEnabled( bool a )
void TimeStamp::update()
{
- QFile f( filename );
+ TQFile f( filename );
if ( !f.exists() )
return;
- lastTimeStamp = QFileInfo( f ).lastModified();
+ lastTimeStamp = TQFileInfo( f ).lastModified();
}
bool TimeStamp::isUpToDate() const
{
- QFile f( filename );
+ TQFile f( filename );
if ( !f.exists() )
return TRUE;
- return lastTimeStamp == QFileInfo( f ).lastModified();
+ return lastTimeStamp == TQFileInfo( f ).lastModified();
}
bool TimeStamp::isAutoCheckEnabled() const