summaryrefslogtreecommitdiff
path: root/noncore/net
authorar <ar>2004-05-31 13:04:55 (UTC)
committer ar <ar>2004-05-31 13:04:55 (UTC)
commit27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062 (patch) (side-by-side diff)
tree5b850ee6ad8b8a48b6c49f4a6ce10e75caf234e5 /noncore/net
parent5bd7c2eee656e8f30635921f15770bd4a43da9e6 (diff)
downloadopie-27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062.zip
opie-27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062.tar.gz
opie-27b09fe4f930b96e82cea9fb0eb1a9b87f7ec062.tar.bz2
- convert qDebug to odebug
Diffstat (limited to 'noncore/net') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/settings.h42
1 files changed, 23 insertions, 19 deletions
diff --git a/noncore/net/mail/libmailwrapper/settings.h b/noncore/net/mail/libmailwrapper/settings.h
index 27e2823..bf27b97 100644
--- a/noncore/net/mail/libmailwrapper/settings.h
+++ b/noncore/net/mail/libmailwrapper/settings.h
@@ -5,2 +5,6 @@
+/* OPIE */
+#include <opie2/odebug.h>
+
+/* QT */
#include <qobject.h>
@@ -8,5 +12,5 @@
-class Account
+class Account
{
-
+
public:
@@ -19,21 +23,21 @@ public:
MAILLIB::ATYPE getType()const{ return type; }
-
+
void setServer(const QString&str){ server = str; }
const QString&getServer()const{ return server; }
-
+
void setPort(const QString&str) { port = str; }
const QString&getPort()const{ return port; }
-
+
void setUser(const QString&str){ user = str; }
const QString&getUser()const{ return user; }
-
+
void setPassword(const QString&str) { password = str; }
const QString&getPassword()const { return password; }
-
+
void setSSL( bool b ) { ssl = b; }
bool getSSL() { return ssl; }
-
+
void setConnectionType( int x ) { connectionType = x; }
int ConnectionType() { return connectionType; }
-
+
@@ -43,5 +47,5 @@ public:
virtual QString getFileName() { return accountName; }
- virtual void read() { qDebug( "base reading..." ); }
- virtual void save() { qDebug( "base saving..." ); }
-
+ virtual void read() { odebug << "base reading..." << oendl; }
+ virtual void save() { odebug << "base saving..." << oendl; }
+
protected:
@@ -56,3 +60,3 @@ class IMAPaccount : public Account
{
-
+
public:
@@ -77,3 +81,3 @@ class POP3account : public Account
{
-
+
public:
@@ -90,3 +94,3 @@ private:
QString file;
-
+
};
@@ -95,3 +99,3 @@ class SMTPaccount : public Account
{
-
+
public:
@@ -117,3 +121,3 @@ class NNTPaccount : public Account
{
-
+
public:
@@ -132,3 +136,3 @@ public:
void setGroups( QStringList list ) { subscribedGroups = list; }
- QStringList getGroups() { return subscribedGroups; }
+ QStringList getGroups() { return subscribedGroups; }
@@ -157,3 +161,3 @@ private:
QList<Account> accounts;
-
+
};