-rw-r--r-- | noncore/styles/theme/othemebase.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/styles/theme/othemebase.h b/noncore/styles/theme/othemebase.h index e691692..5519798 100644 --- a/noncore/styles/theme/othemebase.h +++ b/noncore/styles/theme/othemebase.h @@ -9,24 +9,29 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __OTHEMEBASE_H #define __OTHEMEBASE_H +/* OPIE */ +#include <opie2/odebug.h> +using namespace Opie::Core; + +/* QT */ #include <qdatetime.h> #include <qtimer.h> #include <qwindowsstyle.h> #include <qpixmap.h> #include <qpe/config.h> #include <qimage.h> #include <qintcache.h> #include <qstring.h> #include <qpalette.h> #define WIDGETS 54 @@ -57,25 +62,25 @@ private: class OThemePixmapPrivate; OThemePixmapPrivate *d; }; inline QPixmap* OThemePixmap::border( BorderType type ) { return ( b[ type ] ); } inline void OThemePixmap::setBorder( BorderType type, const QPixmap &p ) { if ( b[ type ] ) { - qWarning( "OThemePixmap: Overwriting existing border!" ); + owarn << "OThemePixmap: Overwriting existing border!" << oendl; delete( b[ type ] ); } b[ type ] = new QPixmap( p ); } inline void OThemePixmap::updateAccessed() { if (t) t->start(); } inline bool OThemePixmap::isOld() |