Update Dbus usage to cope with moc erros
This commit is contained in:
1 parent
5ce78a60d7
commit
0469434569
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user