From e561899f6cf0c98b428f70df06eaee2ce1912291 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 20 Dec 2004 22:04:43 +0000 Subject: A define to avoid writing static QString fromLatin1() {...} --- diff --git a/libopie2/opiecore/oapplicationfactory.h b/libopie2/opiecore/oapplicationfactory.h index 6247776..cabaf79 100644 --- a/libopie2/opiecore/oapplicationfactory.h +++ b/libopie2/opiecore/oapplicationfactory.h @@ -331,3 +331,5 @@ int main( int argc, char **argv ) { \ } #endif + +#define OPIE_EXPORT_APPNAME static QString appName() { return QString::fromLatin1( QUICKAPP_NAME ); } -- cgit v0.9.0.2