void helpStd(char * L) { dropTrSuite(); if (fctExists(L)==0) { printf("%s is not a User System function !\n",L); return; } if (*L == '_') { printf("%s :\n",L); printf("The same as '%s', but with all displays in the log file.\n", L+1); L++; } helpShow(L); }
mainwindow::mainwindow(){ currentState=0; hd = new helpdialog; m=new mediaobject; setupUi(this); setWindowTitle("Music Player"); m=new mediaobject; QObject::connect(actionAbout, SIGNAL(triggered()), this, SLOT(helpShow())); QObject::connect(actionExit,SIGNAL(triggered()),this,SLOT(close())); QObject::connect(actionAdd_Files,SIGNAL(triggered()),this,SLOT(addFiles())); QObject::connect(buttonPause,SIGNAL(clicked()),this,SLOT(pauseFile())); QObject::connect(buttonPlay,SIGNAL(clicked()),this,SLOT(playCurrent())); QObject::connect(buttonStop,SIGNAL(clicked()),m->mobj,SLOT(stop())); QObject::connect(m,SIGNAL(currentSourceChanged(Phonon::MediaSource)),this,SLOT(fetchNext(Phonon::MediaSource))); QObject::connect(m->mobj,SIGNAL(aboutToFinish()),this,SLOT(aboutToFinish())); QObject::connect(m->mobj,SIGNAL(stateChanged(Phonon::State,Phonon::State)),this,SLOT(metaStateChanged(Phonon::State,Phonon::State))); seekSlider->setMediaObject(m->mobj); volumeSlider->setAudioOutput(m->audioOutput); show(); // Signal and slots for help -> AboutUs //m->setQueue(list); }
void IF_helpS(void) { helpShow(NULL); }