summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/dirtydlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/dialogs/dirtydlg.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();