-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
55 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,38 @@ | ||
#ifndef APPLICATIONHELPER_H | ||
#define APPLICATIONHELPER_H | ||
|
||
#include <QtCore/QDebug> | ||
#include <TGlobal> | ||
|
||
class T_HELPER_EXPORT ApplicationHelper | ||
{ | ||
}; | ||
|
||
namespace abq | ||
{ | ||
enum class MIN_FREQ : short int { ONE = 0x01, FIVE = 0x05, FIFTEEN = 0x0F, THIRTY = 0x1E, SIXTY = 0x3C }; | ||
|
||
inline QDebug operator<<(QDebug debug, MIN_FREQ freq) | ||
{ | ||
switch (freq) { | ||
case MIN_FREQ::ONE: | ||
debug << "MIN_FREQ::ONE"; | ||
break; | ||
case MIN_FREQ::FIVE: | ||
debug << "MIN_FREQ::FIVE"; | ||
break; | ||
case MIN_FREQ::FIFTEEN: | ||
debug << "MIN_FREQ::FIFTEEN"; | ||
break; | ||
case MIN_FREQ::THIRTY: | ||
debug << "MIN_FREQ::THIRTY"; | ||
break; | ||
case MIN_FREQ::SIXTY: | ||
debug << "MIN_FREQ::SIXTY"; | ||
break; | ||
} | ||
return debug; | ||
} | ||
} // namespace abq | ||
|
||
#endif // APPLICATIONHELPER_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters