Diffstat (limited to 'libopie/pim/opimxrefmanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/pim/opimxrefmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/pim/opimxrefmanager.cpp b/libopie/pim/opimxrefmanager.cpp index 965f542..58bfd24 100644 --- a/libopie/pim/opimxrefmanager.cpp +++ b/libopie/pim/opimxrefmanager.cpp | |||
@@ -27,28 +27,28 @@ void OPimXRefManager::replace( const OPimXRef& ref) { | |||
27 | m_list.remove( ref ); | 27 | m_list.remove( ref ); |
28 | m_list.append( ref ); | 28 | m_list.append( ref ); |
29 | } | 29 | } |
30 | void OPimXRefManager::clear() { | 30 | void OPimXRefManager::clear() { |
31 | m_list.clear(); | 31 | m_list.clear(); |
32 | } | 32 | } |
33 | QStringList OPimXRefManager::apps()const { | 33 | QStringList OPimXRefManager::apps()const { |
34 | OPimXRef::ValueList::ConstIterator it; | 34 | OPimXRef::ValueList::ConstIterator it; |
35 | QStringList list; | 35 | QStringList list; |
36 | 36 | ||
37 | QString str; | 37 | QString str; |
38 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { | 38 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { |
39 | str = (*it).partner( OPimXRef::One ).appName(); | 39 | str = (*it).partner( OPimXRef::One ).service(); |
40 | if ( !list.contains( str ) ) list << str; | 40 | if ( !list.contains( str ) ) list << str; |
41 | 41 | ||
42 | str = (*it).partner( OPimXRef::Two ).appName(); | 42 | str = (*it).partner( OPimXRef::Two ).service(); |
43 | if ( !list.contains( str ) ) list << str; | 43 | if ( !list.contains( str ) ) list << str; |
44 | } | 44 | } |
45 | return list; | 45 | return list; |
46 | } | 46 | } |
47 | OPimXRef::ValueList OPimXRefManager::list()const { | 47 | OPimXRef::ValueList OPimXRefManager::list()const { |
48 | return m_list; | 48 | return m_list; |
49 | } | 49 | } |
50 | OPimXRef::ValueList OPimXRefManager::list( const QString& appName )const{ | 50 | OPimXRef::ValueList OPimXRefManager::list( const QString& appName )const{ |
51 | OPimXRef::ValueList list; | 51 | OPimXRef::ValueList list; |
52 | OPimXRef::ValueList::ConstIterator it; | 52 | OPimXRef::ValueList::ConstIterator it; |
53 | 53 | ||
54 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { | 54 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { |