[zypp-commit] r5491 - in /branches/work/updater-kde-refactoring/updater-kde/updater: ConfigWidget.cpp Constants.h MainWindow.cpp MainWindow.h UpdateListItem.h
![](https://seccdn.libravatar.org/avatar/f850d49374387219fe79b9ca562f7803.jpg?s=120&d=mm&r=g)
Author: tgoettlicher Date: Fri May 4 16:53:24 2007 New Revision: 5491 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5491&view=rev Log: clean-up Modified: branches/work/updater-kde-refactoring/updater-kde/updater/ConfigWidget.cpp branches/work/updater-kde-refactoring/updater-kde/updater/Constants.h branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.cpp branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.h branches/work/updater-kde-refactoring/updater-kde/updater/UpdateListItem.h Modified: branches/work/updater-kde-refactoring/updater-kde/updater/ConfigWidget.cpp URL: http://svn.opensuse.org/viewcvs/zypp/branches/work/updater-kde-refactoring/updater-kde/updater/ConfigWidget.cpp?rev=5491&r1=5490&r2=5491&view=diff ============================================================================== --- branches/work/updater-kde-refactoring/updater-kde/updater/ConfigWidget.cpp (original) +++ branches/work/updater-kde-refactoring/updater-kde/updater/ConfigWidget.cpp Fri May 4 16:53:24 2007 @@ -40,15 +40,13 @@ setName("ConfigWidget"); } - // following lines enable storing backendplugin name - // otherwise we would store the itemnumber in config combobox which is worthless + // following lines enable storing backend plugin name + // otherwise we would store the combobox itemnumber in config file which is worthless kapp->installKDEPropertyMap(); QSqlPropertyMap *map = QSqlPropertyMap::defaultMap(); map->insert("QComboBox", "currentText"); - addBackendPlugins(); - } void ConfigWidget::addBackendPlugins() Modified: branches/work/updater-kde-refactoring/updater-kde/updater/Constants.h URL: http://svn.opensuse.org/viewcvs/zypp/branches/work/updater-kde-refactoring/updater-kde/updater/Constants.h?rev=5491&r1=5490&r2=5491&view=diff ============================================================================== --- branches/work/updater-kde-refactoring/updater-kde/updater/Constants.h (original) +++ branches/work/updater-kde-refactoring/updater-kde/updater/Constants.h Fri May 4 16:53:24 2007 @@ -30,16 +30,6 @@ #define TRAY_ICON_PROBLEM "messagebox_warning" #define TRAY_ICON_CHECKING "opensuseupdater_busy" -/** Enum to represent the various backends installed. - New backends added here - */ -enum { BACKEND_ZMD, /** ZMD **/ - BACKEND_ZYPP, /** ZYPP **/ - BACKEND_SMART, /** SMART **/ -}; - -// SMART doesn't actually exist at this point by the way... - #endif Modified: branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.cpp URL: http://svn.opensuse.org/viewcvs/zypp/branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.cpp?rev=5491&r1=5490&r2=5491&view=diff ============================================================================== --- branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.cpp (original) +++ branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.cpp Fri May 4 16:53:24 2007 @@ -325,7 +325,7 @@ configDialog->setHelp(QString::null); confWidget = new ConfigWidget(0, "settings"); - configDialog->addPage(confWidget, i18n("openSUSEupdater"), "openSUSEupdater", i18n("Settings")); + configDialog->addPage(confWidget, PROGRAM_DISPLAY_NAME, PROGRAM_DISPLAY_NAME, i18n("Settings")); KConfigDialog* dialog = new KConfigDialog( this, "updater-settings", UpdaterSettings::self() ); Modified: branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.h URL: http://svn.opensuse.org/viewcvs/zypp/branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.h?rev=5491&r1=5490&r2=5491&view=diff ============================================================================== --- branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.h (original) +++ branches/work/updater-kde-refactoring/updater-kde/updater/MainWindow.h Fri May 4 16:53:24 2007 @@ -204,7 +204,7 @@ void clearButtonClicked(); // void closeEvent(QCloseEvent *e); - bool queryClose(); + bool queryClose(); private: @@ -249,7 +249,7 @@ QWidget *centralWidget; - KConfigDialog *configDialog; + KConfigDialog *configDialog; }; Modified: branches/work/updater-kde-refactoring/updater-kde/updater/UpdateListItem.h URL: http://svn.opensuse.org/viewcvs/zypp/branches/work/updater-kde-refactoring/updater-kde/updater/UpdateListItem.h?rev=5491&r1=5490&r2=5491&view=diff ============================================================================== --- branches/work/updater-kde-refactoring/updater-kde/updater/UpdateListItem.h (original) +++ branches/work/updater-kde-refactoring/updater-kde/updater/UpdateListItem.h Fri May 4 16:53:24 2007 @@ -40,7 +40,6 @@ UpdateListItem(QListView *, const QString& ); - private: }; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn.opensuse.org