Diffstat (limited to 'libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp index 754a744..a2cdd5a 100644 --- a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp +++ b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp | |||
@@ -96,13 +96,13 @@ void OpieUIDemo::demo( int d ) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | } | 98 | } |
99 | 99 | ||
100 | void OpieUIDemo::demoOCompletionBox() | 100 | void OpieUIDemo::demoOCompletionBox() |
101 | { | 101 | { |
102 | qDebug( "ocompletionbox" ); | 102 | odebug << "ocompletionbox" << oendl; |
103 | 103 | ||
104 | OCompletionBox* box = new OCompletionBox( 0 ); | 104 | OCompletionBox* box = new OCompletionBox( 0 ); |
105 | box->insertItem( "This CompletionBox" ); | 105 | box->insertItem( "This CompletionBox" ); |
106 | box->insertItem( "Says 'Hello World'" ); | 106 | box->insertItem( "Says 'Hello World'" ); |
107 | box->insertItem( "Here are some" ); | 107 | box->insertItem( "Here are some" ); |
108 | box->insertItem( "Additional Items" ); | 108 | box->insertItem( "Additional Items" ); |
@@ -112,13 +112,13 @@ void OpieUIDemo::demoOCompletionBox() | |||
112 | box->popup(); | 112 | box->popup(); |
113 | 113 | ||
114 | } | 114 | } |
115 | 115 | ||
116 | void OpieUIDemo::demoOLineEdit() | 116 | void OpieUIDemo::demoOLineEdit() |
117 | { | 117 | { |
118 | qDebug( "olineedit" ); | 118 | odebug << "olineedit" << oendl; |
119 | 119 | ||
120 | OLineEdit *edit = new OLineEdit( 0, "lineedit" ); | 120 | OLineEdit *edit = new OLineEdit( 0, "lineedit" ); |
121 | 121 | ||
122 | edit->setCompletionMode( OGlobalSettings::CompletionPopup ); | 122 | edit->setCompletionMode( OGlobalSettings::CompletionPopup ); |
123 | OCompletion* comp = edit->completionObject(); | 123 | OCompletion* comp = edit->completionObject(); |
124 | 124 | ||
@@ -132,13 +132,13 @@ void OpieUIDemo::demoOLineEdit() | |||
132 | edit->show(); | 132 | edit->show(); |
133 | 133 | ||
134 | } | 134 | } |
135 | 135 | ||
136 | void OpieUIDemo::demoOComboBox() | 136 | void OpieUIDemo::demoOComboBox() |
137 | { | 137 | { |
138 | qDebug( "ocombobox" ); | 138 | odebug << "ocombobox" << oendl; |
139 | 139 | ||
140 | OComboBox *combo = new OComboBox( true, 0, "combobox" ); | 140 | OComboBox *combo = new OComboBox( true, 0, "combobox" ); |
141 | 141 | ||
142 | combo->setCompletionMode( OGlobalSettings::CompletionPopup ); | 142 | combo->setCompletionMode( OGlobalSettings::CompletionPopup ); |
143 | OCompletion* comp = combo->completionObject(); | 143 | OCompletion* comp = combo->completionObject(); |
144 | 144 | ||
@@ -157,13 +157,13 @@ void OpieUIDemo::demoOComboBox() | |||
157 | combo->show(); | 157 | combo->show(); |
158 | 158 | ||
159 | } | 159 | } |
160 | 160 | ||
161 | void OpieUIDemo::demoOEditListBox() | 161 | void OpieUIDemo::demoOEditListBox() |
162 | { | 162 | { |
163 | qDebug( "oeditlistbox" ); | 163 | odebug << "oeditlistbox" << oendl; |
164 | 164 | ||
165 | OEditListBox* edit = new OEditListBox( "OEditListBox", 0, "editlistbox" ); | 165 | OEditListBox* edit = new OEditListBox( "OEditListBox", 0, "editlistbox" ); |
166 | 166 | ||
167 | edit->lineEdit()->setCompletionMode( OGlobalSettings::CompletionPopup ); | 167 | edit->lineEdit()->setCompletionMode( OGlobalSettings::CompletionPopup ); |
168 | OCompletion* comp = edit->lineEdit()->completionObject(); | 168 | OCompletion* comp = edit->lineEdit()->completionObject(); |
169 | QStringList clist; | 169 | QStringList clist; |
@@ -182,13 +182,13 @@ void OpieUIDemo::demoOEditListBox() | |||
182 | edit->show(); | 182 | edit->show(); |
183 | 183 | ||
184 | } | 184 | } |
185 | 185 | ||
186 | void OpieUIDemo::demoOSelector() | 186 | void OpieUIDemo::demoOSelector() |
187 | { | 187 | { |
188 | qDebug( "oselector" ); | 188 | odebug << "oselector" << oendl; |
189 | 189 | ||
190 | OHSSelector* sel = new OHSSelector( 0, "gradientselector" ); | 190 | OHSSelector* sel = new OHSSelector( 0, "gradientselector" ); |
191 | //#sel->resize( QSize( 200, 30 ) ); | 191 | //#sel->resize( QSize( 200, 30 ) ); |
192 | //#sel->setColors( QColor( 90, 190, 60 ), QColor( 200, 55, 255 ) ); | 192 | //#sel->setColors( QColor( 90, 190, 60 ), QColor( 200, 55, 255 ) ); |
193 | //#sel->setText( "Dark", "Light" ); | 193 | //#sel->setText( "Dark", "Light" ); |
194 | 194 | ||