[yast-commit] r43161 - in /trunk/qt/src: CMakeLists.txt YQOptionalWidgetFactory.cc YQOptionalWidgetFactory.h YQTimezoneSelector.cc YQTimezoneSelector.h
Author: coolo
Date: Tue Dec 18 15:36:21 2007
New Revision: 43161
URL: http://svn.opensuse.org/viewcvs/yast?rev=43161&view=rev
Log:
adding Qt part of the timezone selector
Added:
trunk/qt/src/YQTimezoneSelector.cc
- copied unchanged from r43160, branches/tmp/coolo/zone/qt/src/YQTimezoneSelector.cc
trunk/qt/src/YQTimezoneSelector.h
- copied unchanged from r43160, branches/tmp/coolo/zone/qt/src/YQTimezoneSelector.h
Modified:
trunk/qt/src/CMakeLists.txt
trunk/qt/src/YQOptionalWidgetFactory.cc
trunk/qt/src/YQOptionalWidgetFactory.h
Modified: trunk/qt/src/CMakeLists.txt
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/CMakeLists.txt?rev=43161&r1=43160&r2=43161&view=diff
==============================================================================
--- trunk/qt/src/CMakeLists.txt (original)
+++ trunk/qt/src/CMakeLists.txt Tue Dec 18 15:36:21 2007
@@ -27,7 +27,7 @@
YQSpacing.cc YQSquash.cc YQTable.cc YQTimeField.cc YQTree.cc
YQUI_builtins.cc YQUI_core.cc YQUI_widgets.cc YQUI_x11.cc
YQWidgetCaption.cc YQWidgetFactory.cc YQWizardButton.cc
- YQWizard.cc QY2Styler.cc
+ YQWizard.cc QY2Styler.cc YQTimezoneSelector.cc
)
QT4_AUTOMOC(${qt_yast_plugin_SRCS})
Modified: trunk/qt/src/YQOptionalWidgetFactory.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQOptionalWidgetFactory.cc?rev=43161&r1=43160&r2=43161&view=diff
==============================================================================
--- trunk/qt/src/YQOptionalWidgetFactory.cc (original)
+++ trunk/qt/src/YQOptionalWidgetFactory.cc Tue Dec 18 15:36:21 2007
@@ -21,6 +21,7 @@
#include "YUIException.h"
#include "YQPackageSelectorPlugin.h"
#include "YQWizard.h"
+#include "YQTimezoneSelector.h"
#define THROW_UNSUPPORTED( WIDGET_TYPE ) \
YUI_THROW( YUIUnsupportedWidgetException( WIDGET_TYPE ) ); \
@@ -257,3 +258,17 @@
return downloadProgress;
}
+bool YQOptionalWidgetFactory::hasTimezoneSelector()
+{
+ return true;
+}
+
+YTimezoneSelector *
+YQOptionalWidgetFactory::createTimezoneSelector( YWidget * parent,
+ const string & pixmap,
+ const map
participants (1)
-
coolo@svn.opensuse.org