Skip to main content

Thread: C++, Qt and libindicate-qt


hi there.

i'm writing application using c++ , qt. want use messaging menu, can't use libindicate.h, because won't signals (gtk-style) working in qt application.

downloaded libindicate-qt , included project. ok, saw app in messaging menu , added message source. wanted set count property (time working fine, don't need it), saw sth that:



empty circle, without number.

code:
code:
    qindicate::server* = qindicate::server::defaultinstance();     is->setdesktopfile("full path .desktop file);     is->settype("message.sth");     is->show();     qindicate::indicator *mindicator = new qindicate::indicator(is);     mindicator->setnameproperty("whatever");     mindicator->setcountproperty(2);     mindicator->show();
libindicate-dev - 0.5.0-0ubuntu2
libindicate-qt-dev - 0.2.5.91-0ubuntu2
qt 4.7.2-0ubuntu6.2
ubuntu natty

can fix it?

solved
ok, found solution. can't use setcountproperty method. instead of have use setindicatorproperty("count","1"). yeah, int string...



Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk C++, Qt and libindicate-qt


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support