summaryrefslogtreecommitdiffstats
path: root/src/gui/outputmethoddlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/outputmethoddlg.cpp
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/outputmethoddlg.cpp')
-rw-r--r--src/gui/outputmethoddlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/outputmethoddlg.cpp b/src/gui/outputmethoddlg.cpp
index bcb189e..32349e6 100644
--- a/src/gui/outputmethoddlg.cpp
+++ b/src/gui/outputmethoddlg.cpp
@@ -23,9 +23,9 @@
#include <ktempfile.h>
#include <kurlrequester.h>
-#include <qcheckbox.h>
-#include <qfile.h>
-#include <qradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqfile.h>
+#include <tqradiobutton.h>
//BEGIN class OutputMethodInfo
@@ -41,7 +41,7 @@ void OutputMethodInfo::initialize( OutputMethodDlg * dlg )
if ( dlg->m_widget->displayDirectCheck->isChecked() )
{
m_method = Method::Direct;
- KTempFile f( QString::null, dlg->m_outputExtension );
+ KTempFile f( TQString(), dlg->m_outputExtension );
f.close();
m_outputFile = f.name();
m_bAddToProject = false;
@@ -66,8 +66,8 @@ void OutputMethodInfo::initialize( OutputMethodDlg * dlg )
//BEGIN class OutputMethodDlg
-OutputMethodDlg::OutputMethodDlg( const QString &caption, const KURL & inputURL, bool showPICSelect, QWidget *parent, const char *name )
- : KDialogBase( parent, name, true, caption, Ok|Cancel )
+OutputMethodDlg::OutputMethodDlg( const TQString &caption, const KURL & inputURL, bool showPICSelect, TQWidget *tqparent, const char *name )
+ : KDialogBase( tqparent, name, true, caption, Ok|Cancel )
{
m_inputURL = inputURL;
m_bAccepted = false;
@@ -92,13 +92,13 @@ OutputMethodDlg::~OutputMethodDlg()
}
-void OutputMethodDlg::setOutputExtension( const QString & extension )
+void OutputMethodDlg::setOutputExtension( const TQString & extension )
{
m_outputExtension = extension;
}
-void OutputMethodDlg::setFilter( const QString &filter )
+void OutputMethodDlg::setFilter( const TQString &filter )
{
m_widget->outputFileURL->setFilter(filter);
}
@@ -125,7 +125,7 @@ void OutputMethodDlg::setMethod( OutputMethodInfo::Method::Type m )
}
-void OutputMethodDlg::setPicID( const QString & id )
+void OutputMethodDlg::setPicID( const TQString & id )
{
m_widget->m_pMicroSelect->setMicro(id);
}