//*************************************************************** // CLass: Utils // // Description: Various static functions // // // Author: Chris Browet (C) 2010 // // Copyright: See COPYING file that comes with this distribution // //****************************************************************** #ifndef UTILS_H #define UTILS_H #include #include #include #include #include class Utils: public QObject { Q_OBJECT public: static const QString encodeAttributes(const QString & text); static bool QRectInterstects(const QRectF& r, const QLineF& l, QPointF& a, QPointF& b); static bool sendBlockingNetRequest(const QUrl& theUrl, QString& reply); }; #endif // UTILS_H