author | brad <brad> | 2004-04-05 13:42:55 (UTC) |
---|---|---|
committer | brad <brad> | 2004-04-05 13:42:55 (UTC) |
commit | 997a521a3ee84f614e2781a663911096ffb4a91a (patch) (unidiff) | |
tree | b54102f944af07bb0a8f3930ef856cbeff5f4899 /inputmethods/handwriting/qimpensetup.cpp | |
parent | f31cf618522b8b8855c5905c20754f7d5a762be3 (diff) | |
download | opie-997a521a3ee84f614e2781a663911096ffb4a91a.zip opie-997a521a3ee84f614e2781a663911096ffb4a91a.tar.gz opie-997a521a3ee84f614e2781a663911096ffb4a91a.tar.bz2 |
Missed qWarning and deps
Diffstat (limited to 'inputmethods/handwriting/qimpensetup.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/handwriting/qimpensetup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp index 3f4841d..564b6ba 100644 --- a/inputmethods/handwriting/qimpensetup.cpp +++ b/inputmethods/handwriting/qimpensetup.cpp | |||
@@ -27,24 +27,25 @@ | |||
27 | 27 | ||
28 | #include <qcombobox.h> | 28 | #include <qcombobox.h> |
29 | #include <qlistbox.h> | 29 | #include <qlistbox.h> |
30 | #include <qlabel.h> | 30 | #include <qlabel.h> |
31 | #include <qpushbutton.h> | 31 | #include <qpushbutton.h> |
32 | #include <qlayout.h> | 32 | #include <qlayout.h> |
33 | #include <qpixmap.h> | 33 | #include <qpixmap.h> |
34 | #include <qbuttongroup.h> | 34 | #include <qbuttongroup.h> |
35 | #include <qslider.h> | 35 | #include <qslider.h> |
36 | #include <qtabwidget.h> | 36 | #include <qtabwidget.h> |
37 | #include <qdir.h> | 37 | #include <qdir.h> |
38 | #include <qmessagebox.h> | 38 | #include <qmessagebox.h> |
39 | #include <opie2/odebug.h> | ||
39 | 40 | ||
40 | 41 | ||
41 | /* XPM */ | 42 | /* XPM */ |
42 | static const char * const left_xpm[] = { | 43 | static const char * const left_xpm[] = { |
43 | "16 16 2 1", | 44 | "16 16 2 1", |
44 | " c None", | 45 | " c None", |
45 | ".c #000000", | 46 | ".c #000000", |
46 | " ", | 47 | " ", |
47 | " ", | 48 | " ", |
48 | " ", | 49 | " ", |
49 | " . ", | 50 | " . ", |
50 | " .. ", | 51 | " .. ", |
@@ -99,25 +100,25 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | |||
99 | QHBoxLayout *hb = new QHBoxLayout( vb ); | 100 | QHBoxLayout *hb = new QHBoxLayout( vb ); |
100 | hb->setMargin( 6 ); | 101 | hb->setMargin( 6 ); |
101 | QLabel *l = new QLabel( tr("Character Profile:"), this ); | 102 | QLabel *l = new QLabel( tr("Character Profile:"), this ); |
102 | hb->addWidget( l ); | 103 | hb->addWidget( l ); |
103 | profileCombo = new QComboBox( this ); | 104 | profileCombo = new QComboBox( this ); |
104 | connect( profileCombo, SIGNAL(activated(const QString&)), | 105 | connect( profileCombo, SIGNAL(activated(const QString&)), |
105 | this, SLOT(selectProfile(const QString&)) ); | 106 | this, SLOT(selectProfile(const QString&)) ); |
106 | hb->addWidget( profileCombo ); | 107 | hb->addWidget( profileCombo ); |
107 | #else | 108 | #else |
108 | profileList.append( profile ); | 109 | profileList.append( profile ); |
109 | #endif | 110 | #endif |
110 | 111 | ||
111 | qWarning("profiles: %d", profileList.count()); | 112 | owarn << "profiles: " << profileList.count() << oendl; |
112 | 113 | ||
113 | QTabWidget *tw = new QTabWidget( this ); | 114 | QTabWidget *tw = new QTabWidget( this ); |
114 | vb->addWidget( tw ); | 115 | vb->addWidget( tw ); |
115 | 116 | ||
116 | pref = new QIMPenPrefBase( this ); | 117 | pref = new QIMPenPrefBase( this ); |
117 | tw->addTab( pref, tr("Preferences") ); | 118 | tw->addTab( pref, tr("Preferences") ); |
118 | 119 | ||
119 | pref->inputStyle->setExclusive( TRUE ); | 120 | pref->inputStyle->setExclusive( TRUE ); |
120 | 121 | ||
121 | style = profile->style() == QIMPenProfile::ToggleCases ? 1 : 0; | 122 | style = profile->style() == QIMPenProfile::ToggleCases ? 1 : 0; |
122 | pref->inputStyle->setButton( style ); | 123 | pref->inputStyle->setButton( style ); |
123 | connect( pref->inputStyle, SIGNAL(clicked(int)), | 124 | connect( pref->inputStyle, SIGNAL(clicked(int)), |