In my Qt-project I have some classes (.h and .cpp files). In some of them i use different constants and functions. There are some constants, that I use in 2 or 3 different classes. But I think, that's not really good. So, the question is how to avoid this? Should I create one more class, where I can write all these constants and functions, and include this class? Maybe there is another suggestions?
P.S. For example, functions like abs
or sign
and constants like const int Scale = 50