상위 질문
타임라인
채팅
관점
KDE 플랫폼 4
위키백과, 무료 백과사전
Remove ads
KDE 플랫폼 4(KDE Platform 4)는 KDE의 라이브러리와 소프트웨어 프레임워크의 모음으로, GNU LGPL 라이선스로 배포되는 KDE 소프트웨어 컴필레이션 4의 기술 토대를 제공한다.

기술
- 사용자 인터페이스
- 하드웨어 및 멀티미디어
- 서비스
- 통신
- Akonadi
- 게임
- Gluon
- KGGZ
- 기타
KDE 플랫폼 4로 대체된 기술
Remove ads
KParts
KParts는 KDE 플라스마 데스크톱 환경을 위한 컴포넌트 프레임워크이다. 개개의 컴포넌트는 KPart라고 한다.
스레드위버
Hello World 예제
#include <KApplication>
#include <KAboutData>
#include <KCmdLineArgs>
#include <KMessageBox>
#include <KLocale>
int main (int argc, char *argv[])
{
KAboutData aboutData(
// The program name used internally.
"tutorial1",
// The message catalog name
// If null, program name is used instead.
0,
// A displayable program name string.
ki18n("Tutorial 1"),
// The program version string.
"1.0",
// Short description of what the app does.
ki18n("Displays a KMessageBox popup"),
// The license this code is released under
KAboutData::License_GPL,
// Copyright Statement
ki18n("Copyright (c) 2007"),
// Optional text shown in the About box.
// Can contain any information desired.
ki18n("Some text..."),
// The program homepage string.
"http://example.com/",
// The bug report email address
"submit@bugs.kde.org");
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGuiItem yesButton( i18n( "Hello" ), QString(),
i18n( "This is a tooltip" ),
i18n( "This is a WhatsThis help text." ) );
KMessageBox::questionYesNo( 0, i18n( "Hello World" ),
i18n( "Hello" ), yesButton );
return 0;
}
Remove ads
각주
외부 링크
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads