tools.cpp
author Markus Bröker <mbroeker@largo.homelinux.org>
Tue, 02 Feb 2010 13:20:45 +0100
changeset 7 f23b595e590e
parent 0 826dd5531eb0
permissions -rw-r--r--
Resize changes on 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 ();
}