[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/kcall
From: Tobias Hunger <tobias.hunger () basyskom ! de>
Date: 2007-03-22 10:15:57
Message-ID: 1174558557.287824.12266.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 645318 by hunger:
Fix a typo (discovered by krazy), add some more copyright headers.
M +20 -0 applet/kcall/kcall.cpp
M +20 -0 applet/kcall/kcall.h
M +19 -6 applet/kcall/kcallcore.cpp
M +19 -6 applet/kcall/kcallcore.h
M +33 -10 applet/kcall/main.cpp
M +22 -1 kcall/src/kcallguicore.cpp
M +20 -0 kcall/src/kcallguicore.h
M +21 -0 kcall/src/main.cpp
--- trunk/playground/pim/kcall/applet/kcall/kcall.cpp #645317:645318
@@ -1,3 +1,23 @@
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#include "kcall.h"
#include <klocale.h>
--- trunk/playground/pim/kcall/applet/kcall/kcall.h #645317:645318
@@ -1,3 +1,23 @@
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#ifndef _KCALL_H_
#define _KCALL_H_
--- trunk/playground/pim/kcall/applet/kcall/kcallcore.cpp #645317:645318
@@ -1,9 +1,22 @@
-/***************************************************************************
- * Copyright (C) 2004 by Eva Brucherseifer *
- * eva.brucherseifer@basyskom.de *
- * Copyright (C) 2004 by Mike Hauth *
- * *
- ***************************************************************************/
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
#include <qtimer.h>
//#include <qbytearray.h>
--- trunk/playground/pim/kcall/applet/kcall/kcallcore.h #645317:645318
@@ -1,9 +1,22 @@
-/***************************************************************************
- * Copyright (C) 2004 by Eva Brucherseifer *
- * eva.brucherseifer@basyskom.de *
- * Copyright (C) 2004 by Mike Hauth *
- * *
- ***************************************************************************/
+/*
+ * KCall
+ * Copyright (C) 2004-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
#ifndef KCALLCORE_H
#define KCALLCORE_H
--- trunk/playground/pim/kcall/applet/kcall/main.cpp #645317:645318
@@ -1,3 +1,23 @@
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#include "kcall.h"
#include <kuniqueapplication.h>
#include <kaboutdata.h>
@@ -14,32 +34,35 @@
static KCmdLineOptions options[] =
{
- {"dial <number>",I18N_NOOP( "Init a call to the Number" ),0},
+ {"dial <number>",I18N_NOOP( "Init a call to the Number" ),0},
KCmdLineLastOption
};
int main(int argc, char **argv)
{
KAboutData about("kcallapplet", I18N_NOOP("kcallapplet"), version, description,
- KAboutData::License_LGPL, "(C) 2005 Mike Hauth", 0, 0, "mike@mike-hauth.de");
+ KAboutData::License_LGPL, "(C) 2005 Mike Hauth", 0, 0,
+ "mike@mike-hauth.de");
about.addAuthor( "Eva Brucherseifer", 0, "eva.brucherseifer@basyskom.de" );
about.addAuthor( "Mike Hauth", 0, "mike@mike-hauth.de" );
+ about.addAuthor( "Tobias Hunger", 0, "tobias.hunger@basyskom.de" );
+
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options );
- KUniqueApplication::addCmdLineOptions();
-
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ KUniqueApplication::addCmdLineOptions();
+
+ KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
QCString dialOptionArg = args->getOption("dial");
-
-
+
+
KUniqueApplication app;
-
+
KCall kcall;
KWin::setSystemTrayWindowFor(kcall.winId(), 0);
kcall.show();
-
+
app.setTopWidget(&kcall);
KStartupInfo::appStarted();
- return app.exec();
+ return app.exec();
}
--- trunk/playground/pim/kcall/kcall/src/kcallguicore.cpp #645317:645318
@@ -1,3 +1,23 @@
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#include "kcallguicore.h"
#include <kdebug.h>
@@ -76,7 +96,8 @@
arg << num;
if(!dcopClient->call("kcallapplet", "KCallCore", "dial(QString)", data, reply_type, reply_data))
{
- kdDebug() << "KCallGuiCore::dial():Error! No successfull sending" << endl;
+ kdDebug() << "KCallGuiCore::dial():Error! Failed to send dial request."
+ << endl;
return false;
}else
{
--- trunk/playground/pim/kcall/kcall/src/kcallguicore.h #645317:645318
@@ -1,3 +1,23 @@
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#ifndef _KCALLGUICORE_H_
#define _KCALLGUICORE_H_
--- trunk/playground/pim/kcall/kcall/src/main.cpp #645317:645318
@@ -1,3 +1,22 @@
+/*
+ * KCall
+ * Copyright (C) 2005-2006 by basyskom GmbH
+ * @author basysKom GmbH <info@basyskom.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
#include "kcallgui.h"
#include <kuniqueapplication.h>
@@ -22,6 +41,8 @@
KAboutData::License_LGPL, "(C) 2005 The KCall Team", 0, 0, "kcall@basyskom.de");
about.addAuthor( "Mike Hauth", 0, "mike@mike-hauth.de" );
about.addAuthor( "Eva Brucherseifer", 0, "eva.brucherseifer@basyskom.de" );
+ about.addAuthor( "Tobias Hunger", 0, "tobias.hunger@basyskom.de" );
+
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic