本文整理汇总了C++中AboutDialog::setVisible方法的典型用法代码示例。如果您正苦于以下问题:C++ AboutDialog::setVisible方法的具体用法?C++ AboutDialog::setVisible怎么用?C++ AboutDialog::setVisible使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AboutDialog
的用法示例。
在下文中一共展示了AboutDialog::setVisible方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: konMain
//.........这里部分代码省略.........
sprintf( filename, "%s%s", System::getSettingsDir(), WINPRPFILENAME );
WinProperties::loadProperties( filename );
sprintf( filename, "%s%s", System::getSettingsDir(), KONPRPFILENAME );
ClassProperties::restoreProperties( filename );
sprintf( filename, "%s%s", KonSystem::baseDir, "kon.syn" );
SyntaxContainer::loadSyntaxes( filename );
KeyBindings::createInstance();
// Create common commands instance
KCommonCommands::createInstance();
// Create the errorCollector instance
KErrorCollector::createInstance( Strings::get(54) );
// Execute the startup script
if( Settings::errorCollectorVisible )
KErrorCollector::getInstance()->show();
Kstartup *kStartup = new Kstartup();
delete kStartup;
ControllerWindow::createInstance();
MainWindow *mainWin =
new MainWindow( Desktop::getInstance(), "Kon", 10, 10, 600, 450 );
mainWin->setVisible( TRUE );
// Load files on commandline
if( argc > 1 )
{
for( int i = 1; i < argc; i++ )
{
if( strchr( argv[i], '*' ) != NULL || strchr( argv[i], '?' ) != NULL )
{
Dir dir( argv[i], DirEntry::ARCHIVED, 0 );
for( int d = 0; d < dir.getEntries(); d++ )
{
fixFilename( argv[i], dir.getEntryAt(d)->getName(), fullPath );
ControllerWindow::getInstance()->loadFile( mainWin, fullPath, TRUE, TRUE, Settings::reuseExistingBuffer );
// mainWin->addFile( fullPath, TRUE, TRUE );
}
}
else
ControllerWindow::getInstance()->loadFile( mainWin, argv[i], TRUE, TRUE, Settings::reuseExistingBuffer );
// mainWin->addFile( argv[i], TRUE, TRUE );
}
}
else
{
char filename[MAXPATH];
BufferAdmin::getNextScratchName( filename );
ControllerWindow::getInstance()->loadFile( mainWin, filename, TRUE, TRUE, Settings::reuseExistingBuffer );
// mainWin->addFile( filename, TRUE, TRUE );
}
if( NamedMessagePipe::supportsPipes() )