summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kgncpricesourcedlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/kgncpricesourcedlg.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/kgncpricesourcedlg.cpp')
-rw-r--r--kmymoney2/dialogs/kgncpricesourcedlg.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmymoney2/dialogs/kgncpricesourcedlg.cpp b/kmymoney2/dialogs/kgncpricesourcedlg.cpp
index 2246e01..5058d5b 100644
--- a/kmymoney2/dialogs/kgncpricesourcedlg.cpp
+++ b/kmymoney2/dialogs/kgncpricesourcedlg.cpp
@@ -17,12 +17,12 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlabel.h>
-#include <qlistbox.h>
-#include <qlineedit.h>
-#include <qbuttongroup.h>
-#include <qlayout.h>
-#include <qapplication.h>
+#include <tqlabel.h>
+#include <tqlistbox.h>
+#include <tqlineedit.h>
+#include <tqbuttongroup.h>
+#include <tqlayout.h>
+#include <tqapplication.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -36,17 +36,17 @@
#include "kgncpricesourcedlg.h"
#include "../converter/webpricequote.h"
-KGncPriceSourceDlg::KGncPriceSourceDlg(QWidget *parent, const char *name)
- : KGncPriceSourceDlgDecl(parent, name)
+KGncPriceSourceDlg::KGncPriceSourceDlg(TQWidget *tqparent, const char *name)
+ : KGncPriceSourceDlgDecl(tqparent, name)
{
}
-KGncPriceSourceDlg::KGncPriceSourceDlg(const QString &stockName, const QString &gncSource){
+KGncPriceSourceDlg::KGncPriceSourceDlg(const TQString &stockName, const TQString &gncSource){
// signals and slots connections
- connect( buttonGroup5, SIGNAL( released(int) ), this, SLOT( buttonPressed(int) ) );
- connect( buttonHelp, SIGNAL( clicked() ), this, SLOT( slotHelp() ) );
+ connect( buttonGroup5, TQT_SIGNAL( released(int) ), this, TQT_SLOT( buttonPressed(int) ) );
+ connect( buttonHelp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotHelp() ) );
// initialize data fields
- textStockName->setText (i18n ("Investment: %1").arg(stockName));
- textGncSource->setText (i18n ("Quote source: %1").arg(gncSource));
+ textStockName->setText (i18n ("Investment: %1").tqarg(stockName));
+ textGncSource->setText (i18n ("Quote source: %1").tqarg(gncSource));
listKnownSource->insertStringList (WebPriceQuote::quoteSources());
lineUserSource->setText (gncSource);
checkAlwaysUse->setChecked(true);
@@ -87,8 +87,8 @@ void KGncPriceSourceDlg::buttonPressed (int buttonId) {
}
}
-QString KGncPriceSourceDlg::selectedSource() const {
- QString s;
+TQString KGncPriceSourceDlg::selectedSource() const {
+ TQString s;
switch (m_currentButton) {
case NOSOURCE: s = ""; break;
case KMMSOURCE: s = listKnownSource->currentText(); break;