author | mickeyl <mickeyl> | 2004-11-16 19:14:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-16 19:14:18 (UTC) |
commit | ea3945a9bd8f9830f70b1efa133f9df13b19362f (patch) (side-by-side diff) | |
tree | f2ea22cc50e9aa8aa73ee7dea148f41c563c9666 /libopie/pim/opimxrefmanager.cpp | |
parent | 1c6f490e8541626f68422e0a3a7c7281d7f5b7d3 (diff) | |
download | opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.zip opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.gz opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.bz2 |
libopie1 goes into unsupported
Diffstat (limited to 'libopie/pim/opimxrefmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/opimxrefmanager.cpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/libopie/pim/opimxrefmanager.cpp b/libopie/pim/opimxrefmanager.cpp deleted file mode 100644 index 58bfd24..0000000 --- a/libopie/pim/opimxrefmanager.cpp +++ b/dev/null @@ -1,71 +0,0 @@ -#include "opimxrefmanager.h" - - -OPimXRefManager::OPimXRefManager() { -} -OPimXRefManager::OPimXRefManager( const OPimXRefManager& ref) { - m_list = ref.m_list; -} -OPimXRefManager::~OPimXRefManager() { -} -OPimXRefManager &OPimXRefManager::operator=( const OPimXRefManager& ref) { - m_list = ref.m_list; - return *this; -} -bool OPimXRefManager::operator==( const OPimXRefManager& /*ref*/) { - // if ( m_list == ref.m_list ) return true; - - return false; -} -void OPimXRefManager::add( const OPimXRef& ref) { - m_list.append( ref ); -} -void OPimXRefManager::remove( const OPimXRef& ref) { - m_list.remove( ref ); -} -void OPimXRefManager::replace( const OPimXRef& ref) { - m_list.remove( ref ); - m_list.append( ref ); -} -void OPimXRefManager::clear() { - m_list.clear(); -} -QStringList OPimXRefManager::apps()const { - OPimXRef::ValueList::ConstIterator it; - QStringList list; - - QString str; - for ( it = m_list.begin(); it != m_list.end(); ++it ) { - str = (*it).partner( OPimXRef::One ).service(); - if ( !list.contains( str ) ) list << str; - - str = (*it).partner( OPimXRef::Two ).service(); - if ( !list.contains( str ) ) list << str; - } - return list; -} -OPimXRef::ValueList OPimXRefManager::list()const { - return m_list; -} -OPimXRef::ValueList OPimXRefManager::list( const QString& appName )const{ - OPimXRef::ValueList list; - OPimXRef::ValueList::ConstIterator it; - - for ( it = m_list.begin(); it != m_list.end(); ++it ) { - if ( (*it).containsString( appName ) ) - list.append( (*it) ); - } - - return list; -} -OPimXRef::ValueList OPimXRefManager::list( int uid )const { - OPimXRef::ValueList list; - OPimXRef::ValueList::ConstIterator it; - - for ( it = m_list.begin(); it != m_list.end(); ++it ) { - if ( (*it).containsUid( uid ) ) - list.append( (*it) ); - } - - return list; -} |