summaryrefslogtreecommitdiffstats
path: root/korganizer/koprefsdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /korganizer/koprefsdialog.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koprefsdialog.cpp')
-rw-r--r--korganizer/koprefsdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp
index d454cdfef..35b67fed9 100644
--- a/korganizer/koprefsdialog.cpp
+++ b/korganizer/koprefsdialog.cpp
@@ -212,7 +212,7 @@ class KOPrefsDialogTime : public KPrefsModule
// Read all system time zones
#if defined(USE_SOLARIS) // MARCO
snprintf(buf, MAXPATHLEN,
- "/bin/tqfind %s \\( -name src -prune \\) -o -type f -print | /bin/cut -b %d-",
+ "/bin/find %s \\( -name src -prune \\) -o -type f -print | /bin/cut -b %d-",
ZONEINFODIR, strlen(ZONEINFODIR) + 2);
if (f = popen(buf, "r"))
@@ -454,7 +454,7 @@ class KOPrefsDialogTime : public KPrefsModule
const TQStringList *tags = 0 )
{
if (tags) {
- int i = tags->tqfindIndex(text);
+ int i = tags->findIndex(text);
if (i > 0) combo->setCurrentItem(i);
} else {
for(int i=0;i<combo->count();++i) {
@@ -774,14 +774,14 @@ void KOPrefsDialogColors::updateCategories()
void KOPrefsDialogColors::setCategoryColor()
{
- mCategoryDict.tqreplace(mCategoryCombo->currentText(), new TQColor(mCategoryButton->color()));
+ mCategoryDict.replace(mCategoryCombo->currentText(), new TQColor(mCategoryButton->color()));
slotWidChanged();
}
void KOPrefsDialogColors::updateCategoryColor()
{
TQString cat = mCategoryCombo->currentText();
- TQColor *color = mCategoryDict.tqfind(cat);
+ TQColor *color = mCategoryDict.find(cat);
if (!color) {
color = KOPrefs::instance()->categoryColor(cat);
}
@@ -823,7 +823,7 @@ void KOPrefsDialogColors::setResourceColor()
{
kdDebug( 5850) << "KOPrefsDialogColors::setResorceColor()" << endl;
- mResourceDict.tqreplace( mResourceIdentifier[mResourceCombo->currentItem()],
+ mResourceDict.replace( mResourceIdentifier[mResourceCombo->currentItem()],
new TQColor( mResourceButton->color() ) );
slotWidChanged();
}
@@ -832,7 +832,7 @@ void KOPrefsDialogColors::updateResourceColor()
{
kdDebug( 5850 ) << "KOPrefsDialogColors::updateResourceColor()" << endl;
TQString res= mResourceIdentifier[mResourceCombo->currentItem()];
- TQColor *color = mCategoryDict.tqfind(res);
+ TQColor *color = mCategoryDict.find(res);
if( !color ) {
color = KOPrefs::instance()->resourceColor( res );
}
@@ -1150,7 +1150,7 @@ void KOPrefsDialogPlugins::usrReadConfig()
KTrader::OfferList::ConstIterator it;
for( it = plugins.begin(); it != plugins.end(); ++it ) {
TQCheckListItem *item = new PluginItem( mListView, *it );
- if ( selectedPlugins.tqfind( (*it)->desktopEntryName() ) !=
+ if ( selectedPlugins.find( (*it)->desktopEntryName() ) !=
selectedPlugins.end() ) {
item->setOn( true );
}