diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-02-08 10:46:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-02-08 10:46:00 +0900 |
commit | ce3d9531b62414fd17ccb702809a18810da16de1 (patch) | |
tree | 37db863d7fdc9c5d83b37135c0a633351c2d6a29 /libk3b/core/k3bglobals.cpp | |
parent | acefd32da28cd61beb76831c90051a22a2584989 (diff) | |
download | k3b-ce3d9531.tar.gz k3b-ce3d9531.zip |
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libk3b/core/k3bglobals.cpp')
-rw-r--r-- | libk3b/core/k3bglobals.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libk3b/core/k3bglobals.cpp b/libk3b/core/k3bglobals.cpp index 2e542e3..7793128 100644 --- a/libk3b/core/k3bglobals.cpp +++ b/libk3b/core/k3bglobals.cpp @@ -23,7 +23,7 @@ #include <k3bdeviceglobals.h> #include <k3bexternalbinmanager.h> #include <k3bcore.h> -#include <k3bhalconnection.h> +#include <k3bconnection.h> #include <tdeversion.h> #include <tdeglobal.h> @@ -580,7 +580,7 @@ bool K3b::unmount( K3bDevice::Device* dev ) return !p.exitStatus(); } else { - return !K3bDevice::HalConnection::instance()->unmount( dev ); + return !K3bDevice::Connection::instance()->unmount( dev ); } } @@ -598,7 +598,7 @@ bool K3b::mount( K3bDevice::Device* dev ) return true; #endif - if( !K3bDevice::HalConnection::instance()->mount( dev ) ) + if( !K3bDevice::Connection::instance()->mount( dev ) ) return true; // now try pmount @@ -616,7 +616,7 @@ bool K3b::mount( K3bDevice::Device* dev ) bool K3b::eject( K3bDevice::Device* dev ) { - if( !K3bDevice::HalConnection::instance()->eject( dev ) ) + if( !K3bDevice::Connection::instance()->eject( dev ) ) return true; if( K3b::isMounted( dev ) ) |