From fbe21a008888cef12eb863151b4aaee1e75f0f22 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 02 Apr 2004 06:42:17 +0000 Subject: update the example as well --- (limited to 'libopie2/examples/opieui') diff --git a/libopie2/examples/opieui/okeyconfigwidget/keyconfig.pro b/libopie2/examples/opieui/okeyconfigwidget/keyconfig.pro index 07188d9..7c60384 100644 --- a/libopie2/examples/opieui/okeyconfigwidget/keyconfig.pro +++ b/libopie2/examples/opieui/okeyconfigwidget/keyconfig.pro @@ -1,8 +1,8 @@ CONFIG += qt TEMPLATE = app -SOURCES = ../../../../noncore/graphics/opie-eye/lib/okeyconfigwidget.cpp testwidget.cpp -HEADERS = ../../../../noncore/graphics/opie-eye/lib/okeyconfigwidget.h testwidget.h +SOURCES = testwidget.cpp +HEADERS = testwidget.h INCLUDEPATH += $(OPIEDIR)/include $(OPIEDIR)/noncore/graphics/opie-eye/lib/ DESTPATH += $(OPIEDIR)/include diff --git a/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp b/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp index 5553166..10b52f9 100644 --- a/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp +++ b/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp @@ -1,6 +1,6 @@ #include "testwidget.h" -#include "okeyconfigwidget.h" +#include #include #include @@ -52,6 +52,8 @@ MainWindow::MainWindow( QWidget* parent, const char* name, WFlags fl ) void MainWindow::slotClicked() { QDialog diag( this, "name", true ); + diag.setCaption( tr( "Manage Keys" ) ); + QHBoxLayout *lay = new QHBoxLayout( &diag ); Opie::Ui::OKeyConfigWidget *wid = new Opie::Ui::OKeyConfigWidget( &diag, "key config" ); wid->setChangeMode( Opie::Ui::OKeyConfigWidget::Queue ); -- cgit v0.9.0.2