summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/mymoneyqifprofileeditor.cpp')
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
index cdb7a34..e24b76f 100644
--- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
+++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
@@ -64,11 +64,11 @@ TQValidator::State MyMoneyQifProfileNameValidator::validate(TQString& name, int&
TQStringList list = config->readListEntry("profiles");
// invalid character?
- if(name.tqcontains(",") != 0)
+ if(name.contains(",") != 0)
return TQValidator::Invalid;
// would not work in this form (empty or existing name)
- if(name.isEmpty() || list.tqcontains(name))
+ if(name.isEmpty() || list.contains(name))
return TQValidator::Intermediate;
// is OK
@@ -264,13 +264,13 @@ void MyMoneyQifProfileEditor::slotLoadProfileFromConfig(const TQString& profile)
m_isDirty = true;
}
- if(m_profileListBox->tqfindItem(profileName, TQt::ExactMatch | TQt::CaseSensitive) == NULL) {
+ if(m_profileListBox->findItem(profileName, TQt::ExactMatch | TQt::CaseSensitive) == NULL) {
profileName = m_profileListBox->text(0);
}
m_profile.loadProfile("Profile-" + profileName);
- TQListBoxItem *lbi = m_profileListBox->tqfindItem(profileName, TQt::ExactMatch | TQt::CaseSensitive);
+ TQListBoxItem *lbi = m_profileListBox->findItem(profileName, TQt::ExactMatch | TQt::CaseSensitive);
int idx = m_profileListBox->index(lbi);
showProfile();
if(idx >= 0) {