Revision 530b45d...
Go back to digest for 8th July 2012Other in Graphics
Kåre Särs committed changes in [libksane/nextgen] /:
Major refactoring with unusable middle steps -> no commit earlier...
This compiles but only the KSaneDevice works somehow not KSaneWidget.
Changes:
- Remove the namespace KSaneIface and make sure all classes start with KSane as
they mostly have done already.
- Remove the creategui() function KSaneOption -> gui-less
- Rename Class files to the same name to simplify #include "..."
- Rename header protections to be the Class name + "_h" for easier class renames
- Rework authentication and sane access (only one sane_init() / process)
- Replace float with qreal
- And more...
File Changes
Added 6 files
- libksane/KSaneAccessSingleton.cpp
- libksane/KSaneDevicePrivate.cpp
- libksane/KSaneDevicePrivate.h
- libksane/KSanePreviewThread.cpp
- libksane/KSanePreviewThread.h
- libksane/KSaneScanThread.cpp
Deleted 5 files
- libksane/ksane_preview_thread.cpp
- libksane/ksane_preview_thread.h
- libksane/ksane_scan_thread.cpp
- libksane/options/ksane_opt_fslider.cpp
- libksane/options/ksane_opt_gamma.cpp
Modified 20 files
- TODO
- ksanetwain/ktwain_widget.cpp
- libksane/CMakeLists.txt
- libksane/ksane.h
- libksane/ksane_auth.cpp
- libksane/ksane_auth.h
- libksane/ksane_device_dialog.cpp
- libksane/ksane_device_dialog.h
- libksane/ksane_widget.cpp
- libksane/ksane_widget_private.cpp
- libksane/ksane_widget_private.h
- libksane/KSaneDevice.cpp
- libksane/KSaneDevice.h
- libksane/widgets/ksane_button.h
- libksane/widgets/ksane_option_widget.h
- libksane/widgets/labeled_checkbox.cpp
- libksane/widgets/labeled_checkbox.h
- libksane/widgets/labeled_fslider.cpp
- libksane/widgets/labeled_fslider.h
- libksane/widgets/labeled_gamma.h
31 files changed in total