summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/backend/otodoaccessxml.h
authormickeyl <mickeyl>2004-02-24 12:46:23 (UTC)
committer mickeyl <mickeyl>2004-02-24 12:46:23 (UTC)
commit911473db35a9fce5f3589f03c27210456faaba86 (patch) (side-by-side diff)
tree7d55b6117b24de6ab18747b00a4641d38001c0ed /libopie2/opiepim/backend/otodoaccessxml.h
parenta2ead23c3614fe581261455cb4c3f31cee2098f3 (diff)
downloadopie-911473db35a9fce5f3589f03c27210456faaba86.zip
opie-911473db35a9fce5f3589f03c27210456faaba86.tar.gz
opie-911473db35a9fce5f3589f03c27210456faaba86.tar.bz2
*phew* here is the class and file rename patch. not converted yet: backend,
but that will be not visible to application classes so we can change it later.
Diffstat (limited to 'libopie2/opiepim/backend/otodoaccessxml.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/otodoaccessxml.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libopie2/opiepim/backend/otodoaccessxml.h b/libopie2/opiepim/backend/otodoaccessxml.h
index d634398..3a51543 100644
--- a/libopie2/opiepim/backend/otodoaccessxml.h
+++ b/libopie2/opiepim/backend/otodoaccessxml.h
@@ -38,12 +38,12 @@ namespace Opie {
class XMLElement;
-class OTodoAccessXML : public OTodoAccessBackend {
+class OPimTodoAccessXML : public OPimTodoAccessBackend {
public:
/**
* fileName if Empty we will use the default path
*/
- OTodoAccessXML( const QString& appName,
+ OPimTodoAccessXML( const QString& appName,
const QString& fileName = QString::null );
- ~OTodoAccessXML();
+ ~OPimTodoAccessXML();
bool load();
@@ -53,11 +53,11 @@ public:
QArray<int> allRecords()const;
QArray<int> matchRegexp(const QRegExp &r) const;
- QArray<int> queryByExample( const OTodo&, int querysettings, const QDateTime& d = QDateTime() );
- OTodo find( int uid )const;
+ QArray<int> queryByExample( const OPimTodo&, int querysettings, const QDateTime& d = QDateTime() );
+ OPimTodo find( int uid )const;
void clear();
- bool add( const OTodo& );
+ bool add( const OPimTodo& );
bool remove( int uid );
void removeAllCompleted();
- bool replace( const OTodo& );
+ bool replace( const OPimTodo& );
/* our functions */
@@ -71,14 +71,14 @@ public:
private:
static QBitArray sup();
- void todo( QAsciiDict<int>*, OTodo&,const QCString&,const QString& );
- QString toString( const OTodo& )const;
+ void todo( QAsciiDict<int>*, OPimTodo&,const QCString&,const QString& );
+ QString toString( const OPimTodo& )const;
QString toString( const QArray<int>& ints ) const;
- QMap<int, OTodo> m_events;
+ QMap<int, OPimTodo> m_events;
QString m_file;
QString m_app;
bool m_opened : 1;
bool m_changed : 1;
- class OTodoAccessXMLPrivate;
- OTodoAccessXMLPrivate* d;
+ class OPimTodoAccessXMLPrivate;
+ OPimTodoAccessXMLPrivate* d;
int m_year, m_month, m_day;