tools.cpp
author Markus Bröker <mbroeker@largo.homelinux.org>
Thu, 20 Aug 2009 21:08:16 +0200
changeset 6 acfe33bf1dcc
parent 0 826dd5531eb0
permissions -rw-r--r--
Minimum and Maximum Expanding Error in newer qt versions

/*
 *  $Id: tools.cpp 54 2008-01-10 00:24:52Z mbroeker $
 * $URL: http://localhost/svn/cpp/qMonitor/trunk/tools.cpp $
 */

#include <tools.h>

std::string itoa (const int &i)
{
    std::stringstream o;

    if (!(o << i))
        return "ERROR";
    return o.str ();
}