author | llornkcor <llornkcor> | 2002-03-18 04:06:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-18 04:06:49 (UTC) |
commit | c41df1c96c7843ded6d63fcfb6f368b4173ca842 (patch) (unidiff) | |
tree | 1ad241131ae50d41cc6d9dff8719864e68c27c14 | |
parent | 9fbc04992f0b19f3f8d0aa91f569f9faa0c562f8 (diff) | |
download | opie-c41df1c96c7843ded6d63fcfb6f368b4173ca842.zip opie-c41df1c96c7843ded6d63fcfb6f368b4173ca842.tar.gz opie-c41df1c96c7843ded6d63fcfb6f368b4173ca842.tar.bz2 |
heheheh.. no insulting the users, please
-rw-r--r-- | core/pim/today/today.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 08efe2d..1936518 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -96,25 +96,25 @@ void Today::channelReceived(const QCString &msg, const QByteArray & data) { | |||
96 | } | 96 | } |
97 | 97 | ||
98 | /* | 98 | /* |
99 | * Initialises the owner field with the default value, the username | 99 | * Initialises the owner field with the default value, the username |
100 | */ | 100 | */ |
101 | void Today::setOwnerField() { | 101 | void Today::setOwnerField() { |
102 | QString file = Global::applicationFileName("addressbook", "businesscard.vcf"); | 102 | QString file = Global::applicationFileName("addressbook", "businesscard.vcf"); |
103 | if (QFile::exists(file)) { | 103 | if (QFile::exists(file)) { |
104 | Contact cont = Contact::readVCard(file)[0]; | 104 | Contact cont = Contact::readVCard(file)[0]; |
105 | QString returnString = cont.fullName(); | 105 | QString returnString = cont.fullName(); |
106 | OwnerField->setText( tr ("<b>Owned by " + returnString + "</b>")); | 106 | OwnerField->setText( tr ("<b>Owned by " + returnString + "</b>")); |
107 | } else { | 107 | } else { |
108 | OwnerField->setText( tr ("<b>to lame to fill out the business card </b>")); | 108 | OwnerField->setText( tr ("<b>Please fill out the business card </b>")); |
109 | } | 109 | } |
110 | } | 110 | } |
111 | 111 | ||
112 | /* | 112 | /* |
113 | * Set the owner field with a given QString, for example per qcop. | 113 | * Set the owner field with a given QString, for example per qcop. |
114 | */ | 114 | */ |
115 | void Today::setOwnerField(QString &message) { | 115 | void Today::setOwnerField(QString &message) { |
116 | if (!message.isEmpty()) { | 116 | if (!message.isEmpty()) { |
117 | OwnerField->setText("<b>" + message + "</b>"); | 117 | OwnerField->setText("<b>" + message + "</b>"); |
118 | } | 118 | } |
119 | } | 119 | } |
120 | 120 | ||