Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9369 in orxonox.OLD for branches/proxy/src/util


Ignore:
Timestamp:
Jul 20, 2006, 9:16:39 PM (18 years ago)
Author:
bensch
Message:

orxonox/proxy switched to sigslot library, and it seems to work, but i am not entirely sure…

Location:
branches/proxy/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/util/multiplayer_team_deathmatch.cc

    r9357 r9369  
    8787  this->input = new OrxGui::GLGuiInputLine();
    8888  this->input->setAbsCoor2D(180, 5);
    89   this->input->connect(SIGNAL(input, enterPushed), this, SLOT(MultiplayerTeamDeathmatch, onInputEnter));
     89  this->input->enterPushed.connect(this, &MultiplayerTeamDeathmatch::onInputEnter);
    9090}
    9191
     
    154154      OrxGui::GLGuiPushButton * buttonSpectator = new OrxGui::GLGuiPushButton("Spectator");
    155155      box->pack( buttonSpectator );
    156       buttonSpectator->connect(SIGNAL(buttonSpectator, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonSpectator));
     156      buttonSpectator->released.connect(this, &MultiplayerTeamDeathmatch::onButtonSpectator);
    157157
    158158      OrxGui::GLGuiPushButton * buttonRandom = new OrxGui::GLGuiPushButton("Random");
    159159      box->pack( buttonRandom );
    160       buttonRandom->connect(SIGNAL(buttonRandom, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonRandom));
     160      buttonRandom->released.connect(this, &MultiplayerTeamDeathmatch::onButtonRandom);
    161161
    162162      OrxGui::GLGuiPushButton * buttonTeam0 = new OrxGui::GLGuiPushButton("Blue Team");
    163163      box->pack( buttonTeam0 );
    164       buttonTeam0->connect(SIGNAL(buttonTeam0, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonTeam0));
     164      buttonTeam0->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam0);
    165165
    166166      OrxGui::GLGuiPushButton * buttonTeam1 = new OrxGui::GLGuiPushButton("Red Team");
    167167      box->pack( buttonTeam1 );
    168       buttonTeam1->connect(SIGNAL(buttonTeam1, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonTeam1));
     168      buttonTeam1->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam1);
    169169
    170170      if ( bShowTeamChange )
     
    172172        OrxGui::GLGuiPushButton * buttonCancel = new OrxGui::GLGuiPushButton("Cancel");
    173173        box->pack( buttonCancel );
    174         buttonCancel->connect(SIGNAL(buttonCancel, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonCancel));
     174        buttonCancel->released.connect(this, &MultiplayerTeamDeathmatch::onButtonCancel);
    175175      }
    176176
    177177      OrxGui::GLGuiPushButton * buttonExit = new OrxGui::GLGuiPushButton("Exit");
    178178      box->pack( buttonExit );
    179       buttonExit->connect(SIGNAL(buttonExit, released), this, SLOT(MultiplayerTeamDeathmatch, onButtonExit));
     179      buttonExit->released.connect(this, &MultiplayerTeamDeathmatch::onButtonExit);
    180180
    181181      box->showAll();
  • branches/proxy/src/util/network_stats_widget.cc

    r9347 r9369  
    1717
    1818#include "network_stats_widget.h"
     19
     20#include "multi_type.h"
    1921
    2022namespace OrxGui
Note: See TracChangeset for help on using the changeset viewer.