summaryrefslogtreecommitdiff
authoreilers <eilers>2003-09-29 07:48:22 (UTC)
committer eilers <eilers>2003-09-29 07:48:22 (UTC)
commit93b76e67cf954eab09091996a790301369d77a88 (patch) (unidiff)
tree07371fb611edaed9d4ef4cd5f0791657da579255
parent5e0dd8f6328bff965878c80b9d220a535b826376 (diff)
downloadopie-93b76e67cf954eab09091996a790301369d77a88.zip
opie-93b76e67cf954eab09091996a790301369d77a88.tar.gz
opie-93b76e67cf954eab09091996a790301369d77a88.tar.bz2
Now using default font instead smallsmooth
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/picker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/addressbook/picker.cpp b/core/pim/addressbook/picker.cpp
index 5099d68..9e0c78a 100644
--- a/core/pim/addressbook/picker.cpp
+++ b/core/pim/addressbook/picker.cpp
@@ -1,44 +1,45 @@
1#include "picker.h" 1#include "picker.h"
2 2
3#include <qfont.h> 3#include <qfont.h>
4#include <qstring.h> 4#include <qstring.h>
5#include <qtimer.h> 5#include <qtimer.h>
6#include <qlayout.h> 6#include <qlayout.h>
7 7
8char PickerLabel::lastLetter = '\0'; 8char PickerLabel::lastLetter = '\0';
9 9
10PickerLabel::PickerLabel( QWidget *parent, const char *name ) 10PickerLabel::PickerLabel( QWidget *parent, const char *name )
11 : QLabel ( parent, name ) 11 : QLabel ( parent, name )
12{ 12{
13 currentLetter = 0; 13 currentLetter = 0;
14 //lastLetter = 0; 14 //lastLetter = 0;
15 15
16 letter1 = '\0'; 16 letter1 = '\0';
17 letter2 = '\0'; 17 letter2 = '\0';
18 letter3 = '\0'; 18 letter3 = '\0';
19 19
20 setFont( QFont( "smallsmooth", 9 ) ); 20 // setFont( QFont( "smallsmooth", 9 ) );
21 setFont( QFont::defaultFont() );
21 setTextFormat( Qt::RichText ); 22 setTextFormat( Qt::RichText );
22 23
23} 24}
24 25
25PickerLabel::~PickerLabel() 26PickerLabel::~PickerLabel()
26{ 27{
27 28
28} 29}
29 30
30void PickerLabel::setLetters( char ch1, char ch2, char ch3 ) 31void PickerLabel::setLetters( char ch1, char ch2, char ch3 )
31{ 32{
32 QString tmpStr; 33 QString tmpStr;
33 34
34 if (ch1 != '\0') 35 if (ch1 != '\0')
35 letter1 = ch1; 36 letter1 = ch1;
36 else 37 else
37 letter1 = ' '; 38 letter1 = ' ';
38 39
39 if (ch2 != '\0') 40 if (ch2 != '\0')
40 letter2 = ch2; 41 letter2 = ch2;
41 else 42 else
42 letter2 = ' '; 43 letter2 = ' ';
43 44
44 if (ch3 != '\0') 45 if (ch3 != '\0')