summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kgncpricesourcedlg.cpp
diff options
context:
space:
mode:
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;