Update Dbus usage to cope with moc erros

This commit is contained in:
jfmcarreira committed 2014-12-08 16:09:04 +00:00
1 parent 5ce78a60d7
commit 0469434569
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ QString PlaYUVerAppAdaptor::activeSession()
return QString( "PlaYUVer" );
}
bool PlaYUVerAppAdaptor::loadFile( QString filename )
bool PlaYUVerAppAdaptor::loadFile( const QString& filename )
{
m_app->loadFile( filename );
return true;
+2 -2
View File
@@ -43,7 +43,7 @@ class plaYUVerApp;
class PlaYUVerAppAdaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", PLAYUVER_DBUS_SESSION_NAME)
Q_CLASSINFO("D-Bus Interface", "org.pixlra.PlaYUVer.application")
Q_PROPERTY(QString activeSession READ activeSession)
public:
PlaYUVerAppAdaptor( plaYUVerApp *app );
@@ -61,7 +61,7 @@ public Q_SLOTS:
* @param encoding encoding name
* @return success
*/
bool loadFile( QString filename );
bool loadFile( const QString& filename );
/**
* activate this kate instance