~ubuntukylin-members/chinese-calendar/chinese-calendar

« back to all changes in this revision

Viewing changes to mycalendar.cpp

  • Committer: Shine Huang
  • Date: 2013-01-22 07:13:15 UTC
  • Revision ID: 22430571@qq.com-20130122071315-zptd9g84ju0tp4nd

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
    //使用setmask过滤即可
251
251
    setMask(objBitmap);
252
252
 
253
 
//    this->setWindowFlags(Qt::ToolTip);
254
 
 
 
253
//    Display *dis = QX11Info::display ();
 
254
//    Atom atom_task = XInternAtom(QX11Info::display (),"_NET_WM_STATE_SKIP_TASKBAR",False);
 
255
//    Atom atom =  XInternAtom(dis,"_NET_WM_STATE",False);
 
256
//    XChangeProperty(dis,winId(),atom,XA_ATOM,32,PropModeAppend,(unsigned char *)&atom_task,1);
255
257
}
256
258
 
257
 
 
258
259
void Mycalendar::setCalendar()
259
260
{
260
261
    struct CTCalendar c;