Commit 26a651bb authored by Laurent Montel's avatar Laurent Montel 😁

Includemoc + compile

svn path=/trunk/KDE/kdegames/lskat/; revision=541433
parent 58c74c21
......@@ -24,10 +24,11 @@ set( lskat_SRCS
mouseinput.cpp
aiinput.cpp )
kde4_automoc( ${lskat_SRCS} )
kde4_add_ui_files( lskat_SRCS playerstatusform.ui namedialog.ui )
kde4_automoc( ${lskat_SRCS} )
kde4_add_executable( lskat ${lskat_SRCS} )
target_link_libraries( lskat kdegames )
......
......@@ -144,3 +144,5 @@ void AbstractDisplay::clearSprites()
}
}
#include "abstractdisplay.moc"
......@@ -52,3 +52,5 @@ Player* AbstractEngine::player(int no)
#include "abstractengine.moc"
......@@ -55,3 +55,5 @@ bool AbstractInput::inputAllowed()
{
return mInputAllowed;
}
#include "abstractinput.moc"
......@@ -258,3 +258,5 @@ AiInput::Board::Board(const AiInput::Board& board)
whoseTurn = board.whoseTurn;
firstPlay = board.firstPlay;
}
#include "aiinput.moc"
......@@ -82,3 +82,5 @@ void CanvasView::mousePressEvent(QMouseEvent *ev)
QPoint point = ev->pos();
emit signalLeftMousePress(point);
}
#include "canvasview.moc"
......@@ -132,3 +132,5 @@ void ConfigTwo::setInputType(int no, InputDeviceType type)
mInputTypes[no] = type;
emit signalInputType(no, type);
}
#include "config_two.moc"
......@@ -269,3 +269,5 @@ QString Deck::name(Suite suite, CardType type)
return i18nc("eg jack of clubs", "%1 of %2", typeName, suiteName);
}
#include "deck.moc"
......@@ -257,3 +257,5 @@ void DisplayIntro::loop()
}
#include "display_intro.moc"
......@@ -410,3 +410,5 @@ void DisplayTwo::showMove(int no)
kDebug() << "Display start sprite to " << no << endl;
if (no>=0) mMoveSprites[no]->show();
}
#include "display_two.moc"
......@@ -479,3 +479,5 @@ int EngineTwo::whoWonMove(int card1,int card2)
return 0;
}
#include "engine_two.moc"
......@@ -90,3 +90,5 @@ PlayerStatusWidget* GameView::statusWidget(int pos)
return mPlayerWidgets[pos];
}
#include "gameview.moc"
......@@ -540,3 +540,5 @@ void Mainwindow::setInputType(int no, InputDeviceType type)
}
#include "mainwindow.moc"
......@@ -59,3 +59,5 @@ void MouseInput::mousePress(QPoint point)
}
#include "mouseinput.moc"
......@@ -63,3 +63,5 @@ QString NameDialogWidget::name(int pos)
#include "namedialogwidget.moc"
......@@ -297,3 +297,5 @@ void Player::refresh()
if (mInput) emit signalUpdateInput(mInput->inputIcon());
if (mDeck) emit signalUpdateTrump(mDeck->trumpIcon(mTrump));
}
#include "player.moc"
......@@ -98,3 +98,5 @@ QSize PlayerStatusWidget::sizeHint() const
return size;
return QSize(250,80); // TODO: No fixed size
}
#include "playerstatuswidget.moc"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment