summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart/komparesaveoptionswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/komparepart/komparesaveoptionswidget.cpp')
-rw-r--r--kompare/komparepart/komparesaveoptionswidget.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/kompare/komparepart/komparesaveoptionswidget.cpp b/kompare/komparepart/komparesaveoptionswidget.cpp
index 866ecc0d..723093ac 100644
--- a/kompare/komparepart/komparesaveoptionswidget.cpp
+++ b/kompare/komparepart/komparesaveoptionswidget.cpp
@@ -17,11 +17,11 @@
**
***************************************************************************/
-#include <qbuttongroup.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qradiobutton.h>
-#include <qspinbox.h>
+#include <tqbuttongroup.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqradiobutton.h>
+#include <tqspinbox.h>
#include <kdebug.h>
#include <kfiledialog.h>
@@ -30,8 +30,8 @@
#include "diffsettings.h"
#include "komparesaveoptionswidget.h"
-KompareSaveOptionsWidget::KompareSaveOptionsWidget( QString source, QString destination,
- DiffSettings * settings, QWidget * parent )
+KompareSaveOptionsWidget::KompareSaveOptionsWidget( TQString source, TQString destination,
+ DiffSettings * settings, TQWidget * parent )
: KompareSaveOptionsBase( parent, "save options" )
, m_source( source )
, m_destination( destination )
@@ -58,23 +58,23 @@ KompareSaveOptionsWidget::KompareSaveOptionsWidget( QString source, QString dest
m_directoryRequester->setURL( root.url() );
}
- connect( m_SmallerChangesCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_LargeFilesCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_IgnoreCaseCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_ExpandTabsCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_IgnoreEmptyLinesCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_IgnoreWhiteSpaceCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_FunctionNamesCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_RecursiveCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_NewFilesCB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_ContextRB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_EdRB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_NormalRB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_RCSRB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_UnifiedRB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_SideBySideRB, SIGNAL(toggled(bool)), SLOT(updateCommandLine()) );
- connect( m_ContextLinesSB, SIGNAL(valueChanged(int)), SLOT(updateCommandLine()) );
- connect( m_directoryRequester, SIGNAL(textChanged(const QString&)), SLOT(updateCommandLine()) );
+ connect( m_SmallerChangesCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_LargeFilesCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_IgnoreCaseCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_ExpandTabsCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_IgnoreEmptyLinesCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_IgnoreWhiteSpaceCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_FunctionNamesCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_RecursiveCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_NewFilesCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_ContextRB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_EdRB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_NormalRB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_RCSRB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_UnifiedRB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_SideBySideRB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCommandLine()) );
+ connect( m_ContextLinesSB, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateCommandLine()) );
+ connect( m_directoryRequester, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(updateCommandLine()) );
loadOptions();
}
@@ -84,23 +84,23 @@ KompareSaveOptionsWidget::~KompareSaveOptionsWidget()
}
-QString KompareSaveOptionsWidget::directory() const
+TQString KompareSaveOptionsWidget::directory() const
{
return KURL( m_directoryRequester->url() ).path();
}
void KompareSaveOptionsWidget::updateCommandLine()
{
- QString cmdLine = "diff";
+ TQString cmdLine = "diff";
- QString options = "";
+ TQString options = "";
switch( static_cast<Kompare::Format>( m_FormatBG->id( m_FormatBG->selected() ) ) ) {
case Kompare::Unified :
- cmdLine += " -U " + QString::number( m_ContextLinesSB->value() );
+ cmdLine += " -U " + TQString::number( m_ContextLinesSB->value() );
break;
case Kompare::Context :
- cmdLine += " -C " + QString::number( m_ContextLinesSB->value() );
+ cmdLine += " -C " + TQString::number( m_ContextLinesSB->value() );
break;
case Kompare::RCS :
options += "n";