Browse Source

La embarre

Rafael Arce Nazario 9 years ago
parent
commit
f1662d5be2
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      frog.cpp

+ 3
- 3
frog.cpp View File

52
     myTimer->stop();
52
     myTimer->stop();
53
     delete myTimer;
53
     delete myTimer;
54
     myTimer = new QTimer;
54
     myTimer = new QTimer;
55
-    connect(myTimer, SIGNAL(timeout()), this, SLOT(mySlot()));
55
+    connect(myTimer, SIGNAL(timeout()), this, SLOT(animate()));
56
 
56
 
57
     computeNenuPositions();
57
     computeNenuPositions();
58
 }
58
 }
80
         delete myTimer;
80
         delete myTimer;
81
         myTimer = new QTimer;
81
         myTimer = new QTimer;
82
         QThread::msleep(5);
82
         QThread::msleep(5);
83
-        connect(myTimer, SIGNAL(timeout()), this, SLOT(mySlot()));
83
+        connect(myTimer, SIGNAL(timeout()), this, SLOT(animate()));
84
 
84
 
85
         p.drawPixmap(temp2,-5,600,400,QPixmap(back));
85
         p.drawPixmap(temp2,-5,600,400,QPixmap(back));
86
         p.drawPixmap(temp,-5,600,400,QPixmap(back));
86
         p.drawPixmap(temp,-5,600,400,QPixmap(back));
223
     C = cc;
223
     C = cc;
224
 //    buttonCounter++;
224
 //    buttonCounter++;
225
 
225
 
226
-    connect(myTimer, SIGNAL(timeout()), this, SLOT(mySlot()));
226
+    connect(myTimer, SIGNAL(timeout()), this, SLOT(animate()));
227
     myTimer->start(25);
227
     myTimer->start(25);
228
 }
228
 }