X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Futil.h;h=5c954b29dc397665681a52c4ce0329c8b94f2360;hp=0b372b6ac3f97308e308134931805d6d34e115c5;hb=c2a02924342a5d9a0ebbc1794e9f7df4ca13c50d;hpb=b79832bf9c4c21b05629cfd2fdbd008ad690572f diff --git a/src/common/util.h b/src/common/util.h index 0b372b6a..5c954b29 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -35,6 +35,8 @@ QString hostFromMask(QString mask); bool isChannelName(QString str); +QString secondsToString(int timeInSeconds); + //! Take a string and decode it using the specified text codec, recognizing utf8. /** This function takes a string and first checks if it is encoded in utf8, in which case it is * decoded appropriately. Otherwise, the specified text codec is used to transform the string.