summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/dirtydlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/dialogs/dirtydlg.cpp')
-rw-r--r--quanta/dialogs/dirtydlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/dialogs/dirtydlg.cpp b/quanta/dialogs/dirtydlg.cpp
index ad9e408b..70d06c86 100644
--- a/quanta/dialogs/dirtydlg.cpp
+++ b/quanta/dialogs/dirtydlg.cpp
@@ -14,10 +14,10 @@
***************************************************************************/
//qt includes
-#include <qevent.h>
-#include <qlabel.h>
-#include <qradiobutton.h>
-#include <qpushbutton.h>
+#include <tqevent.h>
+#include <tqlabel.h>
+#include <tqradiobutton.h>
+#include <tqpushbutton.h>
//kde includes
#include <kdialogbase.h>
@@ -34,7 +34,7 @@
#include "resource.h"
#include "qextfileinfo.h"
-DirtyDlg::DirtyDlg(const QString& srcName, const QString& destName, bool createBackup, QWidget *parent, const char *name ) : KDialogBase(parent, name, true, i18n("File Changed"), KDialogBase::Ok)
+DirtyDlg::DirtyDlg(const TQString& srcName, const TQString& destName, bool createBackup, TQWidget *parent, const char *name ) : KDialogBase(parent, name, true, i18n("File Changed"), KDialogBase::Ok)
{
m_src.setPath(srcName);
m_dest.setPath(destName);
@@ -56,7 +56,7 @@ void DirtyDlg::slotOk()
KProcess *proc = new KProcess();
*proc << "kompare" << m_src.path() << m_dest.path();
proc->start();
- connect(proc, SIGNAL(processExited(KProcess*)),SLOT(slotCompareDone(KProcess*)));
+ connect(proc, TQT_SIGNAL(processExited(KProcess*)),TQT_SLOT(slotCompareDone(KProcess*)));
enableButton(KDialogBase::Ok, false);
enableButton(KDialogBase::Cancel, false);
} else
@@ -88,8 +88,8 @@ void DirtyDlg::slotCompareDone(KProcess* proc)
//TODO: Replace with KIO::NetAccess::file_move, when KDE 3.1 support
//is dropped
KIO::FileCopyJob *job = KIO::file_move(m_dest, m_src, m_permissions, true, false,false );
- connect( job, SIGNAL(result( KIO::Job *)),
- SLOT (slotResult( KIO::Job *)));
+ connect( job, TQT_SIGNAL(result( KIO::Job *)),
+ TQT_SLOT (slotResult( KIO::Job *)));
}
@@ -101,7 +101,7 @@ void DirtyDlg::slotResult(KIO::Job *)
}
/** No descriptions */
-void DirtyDlg::closeEvent(QCloseEvent* ev)
+void DirtyDlg::closeEvent(TQCloseEvent* ev)
{
if (m_busy)
ev->ignore();