File indexing completed on 2024-11-03 09:57:27
0001 /* 0002 This file is part of the KDE project 0003 SPDX-FileCopyrightText: 1997, 2001 Stephan Kulow <coolo@kde.org> 0004 SPDX-FileCopyrightText: 1999 Preston Brown <pbrown@kde.org> 0005 SPDX-FileCopyrightText: 1999-2002 Hans Petter Bieker <bieker@kde.org> 0006 SPDX-FileCopyrightText: 2002 Lukas Tinkl <lukas@kde.org> 0007 SPDX-FileCopyrightText: 2007 Bernhard Loos <nhuh.put@web.de> 0008 SPDX-FileCopyrightText: 2009, 2010 John Layt <john@layt.net> 0009 0010 SPDX-License-Identifier: LGPL-2.0-only 0011 */ 0012 0013 #ifndef KJOBTRACKERFORMATTERS_P_H 0014 #define KJOBTRACKERFORMATTERS_P_H 0015 0016 #include <QString> 0017 0018 namespace KJobTrackerFormatters 0019 { 0020 QString byteSize(double size); 0021 0022 QString daysDuration(int n); 0023 QString hoursDuration(int n); 0024 QString minutesDuration(int n); 0025 QString secondsDuration(int n); 0026 QString duration(unsigned long mSec); 0027 } 0028 0029 #endif