Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 2584930818
commit 0195ac2fb3

@ -67,7 +67,7 @@ void Knights::BirthAll(void)
if( Resource->OPTION_Show_Splash )
SplashScreen = new splash();
aboutData = new KAboutData( "knights", I18N_NOOP("Knights"), _VERSION_ );
aboutData = new TDEAboutData( "knights", I18N_NOOP("Knights"), _VERSION_ );
topMenu = menuBar();
myAccel = new Accel( this, Resource->myAccel );
help = helpMenu();

@ -59,7 +59,7 @@ class Knights : public KMainWindow
Q_OBJECT
public:
KAboutData *aboutData;
TDEAboutData *aboutData;
resource *Resource;
Knights( TDECmdLineArgs *Args, TQWidget* parent=0, const char *name=0 );

@ -30,11 +30,11 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[])
{
KAboutData aboutData( "knights",
TDEAboutData aboutData( "knights",
I18N_NOOP("Knights"),
_VERSION_,
I18N_NOOP("The Knights Chess Interface\n\nKnights is a chess interface\nfor the Trinity Desktop Environment."),
KAboutData::License_GPL_V2,
TDEAboutData::License_GPL_V2,
"(c) 2003, Troy Corbin Jr.",
0,
"http://knights-chess.com",

Loading…
Cancel
Save