Author: coolo
Date: Fri Feb 15 08:35:48 2008
New Revision: 44480
URL: http://svn.opensuse.org/viewcvs/yast?rev=44480&view=rev
Log:
split out yast2-qt-devel and yast2-qt-pkg
Added:
trunk/qt/src/YQPackageSelectorPluginIf.h
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/YQPackageSelectorPluginIf.h
trunk/qt/src/YQPackageSelectorPluginStub.cc
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/YQPackageSelectorPluginStub.cc
trunk/qt/src/YQPackageSelectorPluginStub.h
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/YQPackageSelectorPluginStub.h
trunk/qt/src/icons/ (props changed)
- copied from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/
trunk/qt/src/icons/autodel.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/autodel.xpm
trunk/qt/src/icons/autodel_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/autodel_disabled.xpm
trunk/qt/src/icons/autoinstall.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/autoinstall.xpm
trunk/qt/src/icons/autoinstall_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/autoinstall_disabled.xpm
trunk/qt/src/icons/autoupdate.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/autoupdate.xpm
trunk/qt/src/icons/autoupdate_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/autoupdate_disabled.xpm
trunk/qt/src/icons/checklist_off.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/checklist_off.xpm
trunk/qt/src/icons/checklist_on.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/checklist_on.xpm
trunk/qt/src/icons/del.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/del.xpm
trunk/qt/src/icons/del_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/del_disabled.xpm
trunk/qt/src/icons/delete_conflict.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/delete_conflict.xpm
trunk/qt/src/icons/install.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/install.xpm
trunk/qt/src/icons/install_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/install_disabled.xpm
trunk/qt/src/icons/keepinstalled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/keepinstalled.xpm
trunk/qt/src/icons/keepinstalled_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/keepinstalled_disabled.xpm
trunk/qt/src/icons/noinst.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/noinst.xpm
trunk/qt/src/icons/noinst_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/noinst_disabled.xpm
trunk/qt/src/icons/normal_conflict.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/normal_conflict.xpm
trunk/qt/src/icons/protected.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/protected.xpm
trunk/qt/src/icons/protected_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/protected_disabled.xpm
trunk/qt/src/icons/satisfied.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/satisfied.xpm
trunk/qt/src/icons/sel_autodel.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/sel_autodel.xpm
trunk/qt/src/icons/sel_autodel_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/sel_autodel_disabled.xpm
trunk/qt/src/icons/sel_autoinstall.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/sel_autoinstall.xpm
trunk/qt/src/icons/sel_autoinstall_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/sel_autoinstall_disabled.xpm
trunk/qt/src/icons/sel_autoupdate.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/sel_autoupdate.xpm
trunk/qt/src/icons/sel_autoupdate_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/sel_autoupdate_disabled.xpm
trunk/qt/src/icons/select_conflict.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/select_conflict.xpm
trunk/qt/src/icons/step_current.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/step_current.xpm
trunk/qt/src/icons/step_done.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/step_done.xpm
trunk/qt/src/icons/step_todo.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/step_todo.xpm
trunk/qt/src/icons/stop.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/stop.xpm
trunk/qt/src/icons/taboo.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/taboo.xpm
trunk/qt/src/icons/taboo_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/taboo_disabled.xpm
trunk/qt/src/icons/tree_minus.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/tree_minus.xpm
trunk/qt/src/icons/tree_plus.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/tree_plus.xpm
trunk/qt/src/icons/unresolvable_conflict.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/unresolvable_conflict.xpm
trunk/qt/src/icons/update.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/update.xpm
trunk/qt/src/icons/update_disabled.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/update_disabled.xpm
trunk/qt/src/icons/viewmag.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/viewmag.xpm
trunk/qt/src/icons/warning_sign.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/warning_sign.xpm
trunk/qt/src/icons/zoom-in.xpm
- copied unchanged from r44477, branches/tmp/coolo/split_qt_pkg/qt/src/icons/zoom-in.xpm
Removed:
trunk/qt/src/YQPackageSelectorPlugin.cc
trunk/qt/src/YQPackageSelectorPlugin.h
trunk/qt/src/pkg/
Modified:
trunk/qt/VERSION.cmake
trunk/qt/package/yast2-qt.changes
trunk/qt/src/CMakeLists.txt
trunk/qt/src/QY2HelpDialog.cc
trunk/qt/src/YQApplication.cc
trunk/qt/src/YQApplication.h
trunk/qt/src/YQIconPool.cc
trunk/qt/src/YQOptionalWidgetFactory.cc
trunk/qt/src/YQOptionalWidgetFactory.h
trunk/qt/src/YQTable.h
trunk/qt/src/YQTimezoneSelector.cc
trunk/qt/src/YQWidgetFactory.cc
trunk/qt/src/YQWidgetFactory.h
trunk/qt/yast2-qt.spec.in
Modified: trunk/qt/VERSION.cmake
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/VERSION.cmake?rev=44480&r1=44479&r2=44480&view=diff
==============================================================================
--- trunk/qt/VERSION.cmake (original)
+++ trunk/qt/VERSION.cmake Fri Feb 15 08:35:48 2008
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "16")
-SET(VERSION_PATCH "25")
+SET(VERSION_PATCH "26")
Modified: trunk/qt/package/yast2-qt.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=44480&r1=44479&r2=44480&view=diff
==============================================================================
--- trunk/qt/package/yast2-qt.changes (original)
+++ trunk/qt/package/yast2-qt.changes Fri Feb 15 08:35:48 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Fri Feb 15 08:35:48 CET 2008 - coolo@suse.de
+
+- split out yast2-qt-pkg
+
+-------------------------------------------------------------------
Fri Feb 8 17:26:17 CET 2008 - tgoettlicher@suse.de
- Made popup dialogs modal
Modified: trunk/qt/src/CMakeLists.txt
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/CMakeLists.txt?rev=44480&r1=44479&r2=44480&view=diff
==============================================================================
--- trunk/qt/src/CMakeLists.txt (original)
+++ trunk/qt/src/CMakeLists.txt Fri Feb 15 08:35:48 2008
@@ -47,7 +47,7 @@
YQMultiProgressMeter.cc
YQMultiSelectionBox.cc
YQOptionalWidgetFactory.cc
- YQPackageSelectorPlugin.cc
+ YQPackageSelectorPluginStub.cc
YQPartitionSplitter.cc
YQProgressBar.cc
YQPushButton.cc
@@ -74,6 +74,73 @@
YQBusyIndicator.cc
)
+SET( yast_qt_HEADERS
+ QY2CharValidator.h
+ QY2ComboTabWidget.h
+ QY2DiskUsageList.h
+ QY2HelpDialog.h
+ QY2ListView.h
+ QY2Settings.h
+ QY2Styler.h
+ utf8.h
+ Y2CCQt.h
+ YFrameBuffer.h
+ YQAlignment.h
+ YQApplication.h
+ YQBarGraph.h
+ YQBusyIndicator.h
+ YQCheckBoxFrame.h
+ YQCheckBox.h
+ YQComboBox.h
+ YQDateField.h
+ YQDialog.h
+ YQDownloadProgress.h
+ YQDumbTab.h
+ YQEmpty.h
+ YQFrame.h
+ YQGenericButton.h
+ YQi18n.h
+ YQIconPool.h
+ YQImage.h
+ YQInputField.h
+ YQIntField.h
+ YQLabel.h
+ YQLayoutBox.h
+ YQLogView.h
+ YQMainWinDock.h
+ YQMenuButton.h
+ YQMultiLineEdit.h
+ YQMultiProgressMeter.h
+ YQMultiSelectionBox.h
+ YQOptionalWidgetFactory.h
+ YQPackageSelectorPluginIf.h
+ YQPackageSelectorPluginStub.h
+ YQPartitionSplitter.h
+ YQProgressBar.h
+ YQPushButton.h
+ YQRadioButtonGroup.h
+ YQRadioButton.h
+ YQReplacePoint.h
+ YQRichText.h
+ YQSelectionBox.h
+ YQSignalBlocker.h
+ YQSlider.h
+ YQSpacing.h
+ YQSquash.h
+ YQTable.h
+ YQTimeField.h
+ YQTimezoneSelector.h
+ YQTree.h
+ YQUIComponent.h
+ YQUI.h
+ YQWidgetCaption.h
+ YQWidgetFactory.h
+ YQWizardButton.h
+ YQWizard.h
+)
+
+INSTALL( FILES ${yast_qt_HEADERS} DESTINATION "${YAST_INCLUDE_DIR}/yast2-qt" )
+
QT4_AUTOMOC(${qt_yast_plugin_SRCS})
QT4_WRAP_UI(qt_yast_plugin_SRCS QHelpDialog.ui)
@@ -85,17 +152,18 @@
ADD_LIBRARY( py2qt SHARED ${qt_yast_plugin_SRCS})
TARGET_LINK_LIBRARIES( py2qt ${YAST_LIBRARY} )
+TARGET_LINK_LIBRARIES( py2qt ${YAST_YUI_LIBRARY} )
TARGET_LINK_LIBRARIES( py2qt ${YAST_YCP_LIBRARY} )
TARGET_LINK_LIBRARIES( py2qt ${QT_QTCORE_LIBRARY} )
TARGET_LINK_LIBRARIES( py2qt ${QT_QTGUI_LIBRARY} )
TARGET_LINK_LIBRARIES( py2qt ${YAST_PLUGIN_UI_LIBRARY} )
+TARGET_LINK_LIBRARIES( py2qt dl X11 )
SET_TARGET_PROPERTIES( py2qt PROPERTIES SOVERSION 2 )
+#SET_TARGET_PROPERTIES( py2qt PROPERTIES LINK_FLAGS -Wl,--no-undefined )
INSTALL(TARGETS py2qt LIBRARY DESTINATION ${YAST_PLUGIN_DIR} )
INSTALL(FILES lang_fonts DESTINATION ${CMAKE_INSTALL_PREFIX}/share/YaST2/data )
-ADD_SUBDIRECTORY(pkg)
-
#SET_TARGET_PROPERTIES( y2lang_qt PROPERTIES PREFIX "" )
Modified: trunk/qt/src/QY2HelpDialog.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/QY2HelpDialog.cc?rev=44480&r1=44479&r2=44480&view=diff
==============================================================================
--- trunk/qt/src/QY2HelpDialog.cc (original)
+++ trunk/qt/src/QY2HelpDialog.cc Fri Feb 15 08:35:48 2008
@@ -3,7 +3,7 @@
#include <QDebug>
#include <QTextObject>
-#include "pkg/icons/viewmag.xpm"
+#include "icons/viewmag.xpm"
QY2HelpDialog::QY2HelpDialog( const QString& helpText, QWidget *parent )
: QDialog( parent )
Modified: trunk/qt/src/YQApplication.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQApplication.cc?rev=44480&r1=44479&r2=44480&view=diff
==============================================================================
--- trunk/qt/src/YQApplication.cc (original)
+++ trunk/qt/src/YQApplication.cc Fri Feb 15 08:35:48 2008
@@ -36,7 +36,7 @@
#include "YQi18n.h"
#include "YQApplication.h"
-#include "YQPackageSelectorPlugin.h"
+#include "YQPackageSelectorPluginStub.h"
YQApplication::YQApplication()
@@ -526,61 +526,42 @@
}
-YQPackageSelectorPlugin *
-YQApplication::packageSelectorPlugin()
-{
- static YQPackageSelectorPlugin * plugin = 0;
-
- if ( ! plugin )
- {
- plugin = new YQPackageSelectorPlugin();
-
- // This is a deliberate memory leak: If an application requires a
- // PackageSelector, it is a package selection application by
- // definition. In this case, the qt_pkg plugin is intentionally kept
- // open to avoid repeated start-up cost of the plugin and libzypp.
- }
-
- return plugin;
-}
-
-
-int
+int
YQApplication::displayWidth()
{
return qApp->desktop()->width();
}
-int
+int
YQApplication::displayHeight()
{
return qApp->desktop()->height();
}
-int
+int
YQApplication::displayDepth()
{
return qApp->desktop()->depth();
}
-long
+long
YQApplication::displayColors()
{
return 1L << qApp->desktop()->depth();
}
-int
+int
YQApplication::defaultWidth()
{
return YQUI::ui()->defaultSize( YD_HORIZ );
}
-int
+int
YQApplication::defaultHeight()
{
return YQUI::ui()->defaultSize( YD_VERT );
@@ -678,5 +659,23 @@
YQUI::ui()->makeScreenShot( fileName );
}
+YQPackageSelectorPluginStub * YQApplication::packageSelectorPlugin()
+{
+ static YQPackageSelectorPluginStub * plugin = 0;
+
+ if ( ! plugin )
+ {
+ plugin = new YQPackageSelectorPluginStub();
+
+ // This is a deliberate memory leak: If an application requires a
+ // PackageSelector, it is a package selection application by
+ // definition. In this case, the ncurses_pkg plugin is intentionally
+ // kept open to avoid repeated start-up cost of the plugin and libzypp.
+ }
+
+ return plugin;
+}
+
+
#include "YQApplication.moc"
Modified: trunk/qt/src/YQApplication.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQApplication.h?rev=44480&r1=44479&r2=44480&view=diff
==============================================================================
--- trunk/qt/src/YQApplication.h (original)
+++ trunk/qt/src/YQApplication.h Fri Feb 15 08:35:48 2008
@@ -24,6 +24,7 @@
#include