X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Futil.h;h=aee3499ef0cf722cc07adc63fb6a9ba95676c0ae;hp=0e205fd88626da7e487fdf532a26946e82a3385d;hb=f8275c3b697f1ee43d93bb4e5e688e87ca0405ce;hpb=7f3d50af3f94bd5fc423c83ac21c460da2edf88b diff --git a/src/common/util.h b/src/common/util.h index 0e205fd8..aee3499e 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005/06 by the Quassel Project * + * Copyright (C) 2005-2010 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -36,6 +36,9 @@ bool isChannelName(QString str); //! Strip mIRC format codes QString stripFormatCodes(QString); +//! Remove accelerator markers (&) from the string +QString stripAcceleratorMarkers(const QString &); + QString secondsToString(int timeInSeconds); //! Take a string and decode it using the specified text codec, recognizing utf8.