X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Futil.h;h=5c954b29dc397665681a52c4ce0329c8b94f2360;hp=0b372b6ac3f97308e308134931805d6d34e115c5;hb=b5385b3ddf6f0e8df8f0af7275b59dcc1fcd0ed1;hpb=8a91d275138941cc91704dd462efaf70c5f9732c 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.