author | drw <drw> | 2004-02-22 17:54:40 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-22 17:54:40 (UTC) |
commit | 8705083d6a267450c71b0276833db5c7238f260e (patch) (unidiff) | |
tree | 12cfeab08d8a05808650acb4bc48848633fda63e /libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp | |
parent | 5b27ef38d45ae4aa751c6e364cb62ed428808e3f (diff) | |
download | opie-8705083d6a267450c71b0276833db5c7238f260e.zip opie-8705083d6a267450c71b0276833db5c7238f260e.tar.gz opie-8705083d6a267450c71b0276833db5c7238f260e.tar.bz2 |
libopie2: libopie->libopie2
Diffstat (limited to 'libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp index 197669c..f62729c 100644 --- a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp +++ b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp | |||
@@ -35,3 +35,3 @@ | |||
35 | #ifdef QWS | 35 | #ifdef QWS |
36 | #include <opie/odevice.h> | 36 | #include <opie2/odevice.h> |
37 | using namespace Opie; | 37 | using namespace Opie; |
@@ -58,3 +58,3 @@ OpieUIDemo::OpieUIDemo( QWidget* parent, const char* name, WFlags fl ) | |||
58 | { | 58 | { |
59 | 59 | ||
60 | QMenuBar* mbar = this->menuBar(); | 60 | QMenuBar* mbar = this->menuBar(); |
@@ -68,3 +68,3 @@ OpieUIDemo::OpieUIDemo( QWidget* parent, const char* name, WFlags fl ) | |||
68 | mbar->insertItem( "Demonstrate", demo ); | 68 | mbar->insertItem( "Demonstrate", demo ); |
69 | 69 | ||
70 | build(); | 70 | build(); |
@@ -82,3 +82,3 @@ void OpieUIDemo::build() | |||
82 | main->show(); | 82 | main->show(); |
83 | 83 | ||
84 | main->addTab( new OVersatileViewDemo( main ), "VersatileView" ); | 84 | main->addTab( new OVersatileViewDemo( main ), "VersatileView" ); |
@@ -104,3 +104,3 @@ void OpieUIDemo::demoOCompletionBox() | |||
104 | qDebug( "ocompletionbox" ); | 104 | qDebug( "ocompletionbox" ); |
105 | 105 | ||
106 | OCompletionBox* box = new OCompletionBox( 0 ); | 106 | OCompletionBox* box = new OCompletionBox( 0 ); |
@@ -111,6 +111,6 @@ void OpieUIDemo::demoOCompletionBox() | |||
111 | box->insertItem( "Complete Completion Box" ); | 111 | box->insertItem( "Complete Completion Box" ); |
112 | 112 | ||
113 | connect( box, SIGNAL( activated( const QString& ) ), this, SLOT( messageBox( const QString& ) ) ); | 113 | connect( box, SIGNAL( activated( const QString& ) ), this, SLOT( messageBox( const QString& ) ) ); |
114 | box->popup(); | 114 | box->popup(); |
115 | 115 | ||
116 | } | 116 | } |
@@ -120,5 +120,5 @@ void OpieUIDemo::demoOLineEdit() | |||
120 | qDebug( "olineedit" ); | 120 | qDebug( "olineedit" ); |
121 | 121 | ||
122 | OLineEdit *edit = new OLineEdit( 0, "lineedit" ); | 122 | OLineEdit *edit = new OLineEdit( 0, "lineedit" ); |
123 | 123 | ||
124 | edit->setCompletionMode( OGlobalSettings::CompletionPopup ); | 124 | edit->setCompletionMode( OGlobalSettings::CompletionPopup ); |
@@ -130,5 +130,5 @@ void OpieUIDemo::demoOLineEdit() | |||
130 | list << "mickey@vanille.de"; | 130 | list << "mickey@vanille.de"; |
131 | 131 | ||
132 | comp->setItems( list ); | 132 | comp->setItems( list ); |
133 | 133 | ||
134 | edit->show(); | 134 | edit->show(); |
@@ -140,5 +140,5 @@ void OpieUIDemo::demoOComboBox() | |||
140 | qDebug( "ocombobox" ); | 140 | qDebug( "ocombobox" ); |
141 | 141 | ||
142 | OComboBox *combo = new OComboBox( true, 0, "combobox" ); | 142 | OComboBox *combo = new OComboBox( true, 0, "combobox" ); |
143 | 143 | ||
144 | combo->setCompletionMode( OGlobalSettings::CompletionPopup ); | 144 | combo->setCompletionMode( OGlobalSettings::CompletionPopup ); |
@@ -151,3 +151,3 @@ void OpieUIDemo::demoOComboBox() | |||
151 | combo->insertStringList( ilist ); | 151 | combo->insertStringList( ilist ); |
152 | 152 | ||
153 | QStringList clist; | 153 | QStringList clist; |
@@ -157,3 +157,3 @@ void OpieUIDemo::demoOComboBox() | |||
157 | comp->setItems( clist ); | 157 | comp->setItems( clist ); |
158 | 158 | ||
159 | combo->show(); | 159 | combo->show(); |
@@ -165,5 +165,5 @@ void OpieUIDemo::demoOEditListBox() | |||
165 | qDebug( "oeditlistbox" ); | 165 | qDebug( "oeditlistbox" ); |
166 | 166 | ||
167 | OEditListBox* edit = new OEditListBox( "OEditListBox", 0, "editlistbox" ); | 167 | OEditListBox* edit = new OEditListBox( "OEditListBox", 0, "editlistbox" ); |
168 | 168 | ||
169 | edit->lineEdit()->setCompletionMode( OGlobalSettings::CompletionPopup ); | 169 | edit->lineEdit()->setCompletionMode( OGlobalSettings::CompletionPopup ); |
@@ -182,3 +182,3 @@ void OpieUIDemo::demoOEditListBox() | |||
182 | edit->insertStringList( list ); | 182 | edit->insertStringList( list ); |
183 | 183 | ||
184 | edit->show(); | 184 | edit->show(); |
@@ -190,3 +190,3 @@ void OpieUIDemo::demoOSelector() | |||
190 | qDebug( "oselector" ); | 190 | qDebug( "oselector" ); |
191 | 191 | ||
192 | OHSSelector* sel = new OHSSelector( 0, "gradientselector" ); | 192 | OHSSelector* sel = new OHSSelector( 0, "gradientselector" ); |
@@ -195,3 +195,3 @@ void OpieUIDemo::demoOSelector() | |||
195 | //#sel->setText( "Dark", "Light" ); | 195 | //#sel->setText( "Dark", "Light" ); |
196 | 196 | ||
197 | sel->show(); | 197 | sel->show(); |