[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/games/kolf-ng
From:       Stefan Majewsky <majewsky () gmx ! net>
Date:       2009-09-20 21:49:34
Message-ID: 1253483374.737858.7383.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1026155 by majewsky:

Use the new Kolf::GameUIPageWidget::shown signal in Kolf::ImageViewer.

 M  +0 -6      editor/blender-imageviewer.cpp  
 M  +0 -7      editor/blender-imageviewer.h  
 M  +1 -1      engine/game-editor.cpp  


--- trunk/playground/games/kolf-ng/editor/blender-imageviewer.cpp #1026154:1026155
@@ -57,10 +57,4 @@
 	m_rightText->setText(text);
 }
 
-
-void Kolf::ImageViewer::showEvent(QShowEvent* event)
-{
-	emit showed();
-}
-
 #include "blender-imageviewer.moc"
--- trunk/playground/games/kolf-ng/editor/blender-imageviewer.h #1026154:1026155
@@ -32,13 +32,6 @@
 			void showImage(const QImage& img);
 			void setLeftText(const QString& text);
 			void setRightText(const QString& text);
-
-		Q_SIGNALS:
-			void showed();
-
-		protected:
-			virtual void showEvent(QShowEvent* event);
-	
 		private:
 			QLabel* m_image;
 			QLabel* m_leftText;
--- trunk/playground/games/kolf-ng/engine/game-editor.cpp #1026154:1026155
@@ -75,7 +75,7 @@
 	textureListWidget->blenderManager()->setDrawingBoard(drawingBoard);
 	connect(drawingBoard, SIGNAL(heightmapChanged()),
 		textureListWidget->blenderManager(), SLOT(setHeightmap()));
-	connect(imageViewer, SIGNAL(showed()), 
+	connect(imageViewer, SIGNAL(shown()),
 		textureListWidget->blenderManager(), SLOT(startBlending()));
 
  	//Action: texture blender -- add textures
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic