src/basics.h

changeset 1350
eb2d3bc4fc73
parent 1333
ebcb0335d467
child 1352
55fbbd4bdf86
equal deleted inserted replaced
1349:45d8eec8bd52 1350:eb2d3bc4fc73
88 } 88 }
89 89
90 QString formatFileSize(qint64 size); 90 QString formatFileSize(qint64 size);
91 int gcd(int a, int b); 91 int gcd(int a, int b);
92 QString joinStrings(const QList<class StringFormatArg>& values, QString delimeter = " "); 92 QString joinStrings(const QList<class StringFormatArg>& values, QString delimeter = " ");
93 QString largeNumberRep(int number);
93 double roundToDecimals(double value, int decimals); 94 double roundToDecimals(double value, int decimals);
94 class QSettings& settingsObject(); 95 class QSettings& settingsObject();
95 void simplify(int& numerator, int& denominator); 96 void simplify(int& numerator, int& denominator);
97 QString superscript(int number);
98 QString subscript(int number);
99 QString fractionRep(int numerator, int denominator);

mercurial