[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kmameleon/main
From: Primoz Anzur <zerokode () gmx ! net>
Date: 2005-04-03 20:29:38
Message-ID: 20050403202938.3C0465FA () office ! kde ! org
[Download RAW message or body]
CVS commit by zero:
Fix nasty segfault on the tool loader (Not my fault!)
some button implementations...
M +2 -1 dlggamelist.ui 1.5
M +8 -0 kmmgameslist.cc 1.4
M +1 -0 kmmgameslist.h 1.4
M +4 -3 mainwindow.cc 1.86
--- kdenonbeta/kmameleon/main/dlggamelist.ui #1.4:1.5
@@ -467,5 +467,6 @@
<slot>grpDisplayType_released( int )</slot>
<slot>btnReload_clicked()</slot>
- <slot>newSlot()</slot>
+ <slot>slotPlayGame()</slot>
+ <slot>btnPlay_clicked()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
--- kdenonbeta/kmameleon/main/kmmgameslist.cc #1.3:1.4
@@ -45,4 +45,7 @@ ItemGamesList::ItemGamesList( QWidget *p
QToolTip::add(lvGameList, i18n("Click on headers to sort list"));
QToolTip::add(btnReload, i18n("Reload supported list"));
+
+ connect (btnPlay, SIGNAL(clicked()), this, SLOT(runPlay()) );
+
}
@@ -65,4 +68,5 @@ void ItemGamesList::buildLists(void) {
connect (btSupported, SIGNAL( stateChanged( int ) ), this, SLOT( refreshSupported( int ) ) );
connect (btnReload, SIGNAL( clicked( ) ), this, SLOT( reload( ) ) );
+ connect (btnQuit, SIGNAL( clicked( ) ), this, SLOT( close( ) ) );
//for now; we'll load path from the config fle..
@@ -267,4 +271,5 @@ QListViewItem * ItemGamesList::getSelect
void ItemGamesList::closeEvent(QCloseEvent *) {
+ kapp->exit();
}
@@ -480,4 +485,7 @@ bool ItemGamesList::endDocument(void) {
}
+void ItemGamesList::runPlay(){
+ kdDebug() << "runPlay() not there yet!" << endl;
+}
#include "kmmgameslist.moc"
--- kdenonbeta/kmameleon/main/kmmgameslist.h #1.3:1.4
@@ -100,4 +100,5 @@ protected slots:
void refreshSupported( int );
void reload( void );
+ void runPlay();
};
--- kdenonbeta/kmameleon/main/mainwindow.cc #1.85:1.86
@@ -81,6 +81,6 @@ KMameleon::KMameleon()
//loading the tools...
- //romChecker = new ToolRomCheckerPlugin();
- //pathFinder = new ToolPathFinderPlugin();
+ romChecker = new ToolRomCheckerPlugin();
+ pathFinder = new ToolPathFinderPlugin();
//load the image of the file
@@ -472,6 +472,7 @@ void KMameleon::closeEvent(QCloseEvent *
{
config->setGroup("general");
- if(! config->readBoolEntry("detachProcess", false))
+ if(! config->readBoolEntry("detachProcess", false)) {
proc.kill();
+ }
//Save window positions:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic