From aa71e79b67fd801e4bf2dbafde9b067bc5b54a94 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:12:39 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- tde-i18n-ru/docs/tdevelop/kde_app_devel/index.docbook | 4 ++-- tde-i18n-ru/docs/tdevelop/kdearch/index.docbook | 6 +++--- tde-i18n-ru/docs/tdevelop/tdevelop/getting-started.docbook | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tde-i18n-ru/docs/tdevelop') diff --git a/tde-i18n-ru/docs/tdevelop/kde_app_devel/index.docbook b/tde-i18n-ru/docs/tdevelop/kde_app_devel/index.docbook index 7dacd93ff3b..5f1b904f903 100644 --- a/tde-i18n-ru/docs/tdevelop/kde_app_devel/index.docbook +++ b/tde-i18n-ru/docs/tdevelop/kde_app_devel/index.docbook @@ -994,8 +994,8 @@ return a.exec(); >. Она прописана в файле main.cpp, её можно найти через "Обзор классов", в ветке "Глобальные функции". 1 int main(int argc, char **argv) 2 { -3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, -4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com"); +3 TDEAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, +4 TDEAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com"); 5 about.addAuthor( "Your Name", 0, "you@you.com" ); 6 TDECmdLineArgs::init(argc, argv, &about); 7 TDECmdLineArgs::addCmdLineOptions(options); diff --git a/tde-i18n-ru/docs/tdevelop/kdearch/index.docbook b/tde-i18n-ru/docs/tdevelop/kdearch/index.docbook index 12e5f89f4c6..396d1844d2d 100644 --- a/tde-i18n-ru/docs/tdevelop/kdearch/index.docbook +++ b/tde-i18n-ru/docs/tdevelop/kdearch/index.docbook @@ -173,8 +173,8 @@ <ulink url="kdeapi:tdecore/KAboutData" ->KAboutData</ulink +><ulink url="kdeapi:tdecore/TDEAboutData" +>TDEAboutData</ulink > Хранение и отображение информации об авторах программы. @@ -3358,7 +3358,7 @@ Icon=ftp int kdemain(int argc, char **argv) { KLocale::setMainCatalogue("tdelibs"); - KInstance instance("kio_ftp"); + TDEInstance instance("kio_ftp"); (void) KGlobal::locale(); if (argc != 4) { diff --git a/tde-i18n-ru/docs/tdevelop/tdevelop/getting-started.docbook b/tde-i18n-ru/docs/tdevelop/tdevelop/getting-started.docbook index fe08bdea3f2..59cddc4bd30 100644 --- a/tde-i18n-ru/docs/tdevelop/tdevelop/getting-started.docbook +++ b/tde-i18n-ru/docs/tdevelop/tdevelop/getting-started.docbook @@ -1250,8 +1250,8 @@ Keep lines at 80 characters length maximum. int main(int argc, char **argv) { - KAboutData about("hello", I18N_NOOP("Hello"), version, description, - KAboutData::License_GPL, "(C) 2006 Joe User", 0, 0, + TDEAboutData about("hello", I18N_NOOP("Hello"), version, description, + TDEAboutData::License_GPL, "(C) 2006 Joe User", 0, 0, "joe@user.com"); about.addAuthor( "Joe User", 0, "joe@user.com" ); -- cgit v1.2.1