diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:21:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:21:28 -0600 |
commit | 6c1d52c8248adb9189c944a28efde52330e99b66 (patch) | |
tree | 842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/converter/mymoneyqifreader.cpp | |
parent | 4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff) | |
download | kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/converter/mymoneyqifreader.cpp')
-rw-r--r-- | kmymoney2/converter/mymoneyqifreader.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp index 8764e03..bcb9091 100644 --- a/kmymoney2/converter/mymoneyqifreader.cpp +++ b/kmymoney2/converter/mymoneyqifreader.cpp @@ -250,10 +250,10 @@ MyMoneyQifReader::MyMoneyQifReader() : m_warnedSecurity = false; m_warnedPrice = false; - connect(&m_filter, TQT_SIGNAL(wroteStdin(KProcess*)), this, TQT_SLOT(slotSendDataToFilter())); - connect(&m_filter, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(KProcess*, char*, int))); - connect(&m_filter, TQT_SIGNAL(processExited(KProcess*)), this, TQT_SLOT(slotImportFinished())); - connect(&m_filter, TQT_SIGNAL(receivedStderr(KProcess*, char*, int)), this, TQT_SLOT(slotReceivedErrorFromFilter(KProcess*, char*, int))); + connect(&m_filter, TQT_SIGNAL(wroteStdin(TDEProcess*)), this, TQT_SLOT(slotSendDataToFilter())); + connect(&m_filter, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int))); + connect(&m_filter, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotImportFinished())); + connect(&m_filter, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedErrorFromFilter(TDEProcess*, char*, int))); } MyMoneyQifReader::~MyMoneyQifReader() @@ -297,14 +297,14 @@ void MyMoneyQifReader::slotSendDataToFilter(void) } } -void MyMoneyQifReader::slotReceivedErrorFromFilter(KProcess* /* proc */, char *buff, int len) +void MyMoneyQifReader::slotReceivedErrorFromFilter(TDEProcess* /* proc */, char *buff, int len) { TQByteArray data; data.duplicate(buff, len); tqWarning("%s",static_cast<const char*>(data)); } -void MyMoneyQifReader::slotReceivedDataFromFilter(KProcess* /* proc */, char *buff, int len) +void MyMoneyQifReader::slotReceivedDataFromFilter(TDEProcess* /* proc */, char *buff, int len) { m_pos += len; // signalProgress(m_pos, 0); @@ -437,7 +437,7 @@ bool MyMoneyQifReader::startImport(void) } m_entryType = EntryUnknown; - if(m_filter.start(KProcess::NotifyOnExit, KProcess::All)) { + if(m_filter.start(TDEProcess::NotifyOnExit, TDEProcess::All)) { m_filter.resume(); signalProgress(0, m_file->size(), i18n("Reading QIF ...")); slotSendDataToFilter(); @@ -459,7 +459,7 @@ bool MyMoneyQifReader::finishImport(void) m_file = 0; // remove the Don't ask again entries - KConfig* config = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup(TQString::fromLatin1("Notification Messages")); TQStringList::ConstIterator it; @@ -479,7 +479,7 @@ bool MyMoneyQifReader::finishImport(void) m_file = 0; // remove the Don't ask again entries - KConfig* config = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup(TQString::fromLatin1("Notification Messages")); TQStringList::ConstIterator it; |