File indexing completed on 2024-05-12 04:39:43
0001 /* 0002 SPDX-FileCopyrightText: 2013 Vlas Puhov <vlas.puhov@mail.ru> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef CONVERTERS_H 0008 #define CONVERTERS_H 0009 0010 #include "registercontroller.h" 0011 0012 namespace KDevMI { 0013 0014 class Converters 0015 { 0016 public: 0017 static QString formatToString(Format format); 0018 static Format stringToFormat(const QString& format); 0019 0020 static Mode stringToMode(const QString& mode); 0021 static QString modeToString(Mode mode); 0022 }; 0023 0024 } // end of namespace KDevMI 0025 #endif // CONVERTERS_H