Ignore:
Timestamp:
Dec 6, 2013, 4:45:25 PM (11 years ago)
Author:
garnier
Message:

Renommage de toutes les classes d’élément dans le GWt_ par GWt_elementXXX

File:
1 copied

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementSnapshot.cc

    r436 r437  
    11
    2 #include "GWt_snapshot.h"
     2#include "GWt_elementSnapshot.h"
    33#include "mixedTools.h"
    44
     
    99#include <Wt/WPushButton>
    1010
    11 GWt_snapshot::GWt_snapshot(GWt_elementLigneFaisceau* elemLigne, int num) : GWt_abstractElement(new elementSnapshot(num))
     11GWt_elementSnapshot::GWt_elementSnapshot(GWt_elementLigneFaisceau* elemLigne, int num) : GWt_abstractElement(new elementSnapshot(num))
    1212{
    1313  elementLigneFaiseauContainer_ = elemLigne;
     
    1515}
    1616
    17 void GWt_snapshot::initilializeDialog()
     17void GWt_elementSnapshot::initilializeDialog()
    1818{
    1919  string* param = beginDialog();
     
    2727  WPushButton *submit= new WPushButton("OK",dialog_->contents());
    2828  submit->clicked().connect(dialog_,&Wt::WDialog::accept);
    29   dialog_->finished().connect(this, &GWt_snapshot::dialogDone);
     29  dialog_->finished().connect(this, &GWt_elementSnapshot::dialogDone);
    3030}
    3131
    32 void GWt_snapshot::dialogDone(WDialog::DialogCode code)
     32void GWt_elementSnapshot::dialogDone(WDialog::DialogCode code)
    3333{
    3434  if (code != Wt::WDialog::Accepted) return;
     
    4242  envoi[++compteur] = snapshotFile_->text().toUTF8();
    4343  if ( compteur !=  (int)nbParam ) {
    44     cerr << " GWt_snapshot::dialogDone() : pb dans le nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
     44    cerr << " GWt_elementSnapshot::dialogDone() : pb dans le nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
    4545    return;
    4646  }
     
    4949  delete [] envoi;
    5050}
    51 
    52 WImage* GWt_snapshot::getImage() {
    53   return image_;
    54 }
Note: See TracChangeset for help on using the changeset viewer.