Repair mimetype icon usage, part 1. The following are not fully verified in source as of this commit due to ubiquity: info, unknown

pull/1/head
Timothy Pearson 10 years ago
parent 50be8112bd
commit 5773501d56

@ -193,14 +193,14 @@ CustomProjectPart::~CustomProjectPart()
void CustomProjectPart::projectConfigWidget( KDialogBase *dlg ) void CustomProjectPart::projectConfigWidget( KDialogBase *dlg )
{ {
TQVBox *vbox; TQVBox *vbox;
vbox = dlg->addVBoxPage( i18n( "Custom Manager" ), i18n( "Custom Manager" ), BarIcon( "make", TDEIcon::SizeMedium ) ); vbox = dlg->addVBoxPage( i18n( "Custom Manager" ), i18n( "Custom Manager" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
CustomManagerWidget *w0 = new CustomManagerWidget( this, vbox ); CustomManagerWidget *w0 = new CustomManagerWidget( this, vbox );
connect( dlg, TQT_SIGNAL( okClicked() ), w0, TQT_SLOT( accept() ) ); connect( dlg, TQT_SIGNAL( okClicked() ), w0, TQT_SLOT( accept() ) );
vbox = dlg->addVBoxPage( i18n( "Run Options" ), i18n( "Run Options" ), BarIcon( "make", TDEIcon::SizeMedium ) ); vbox = dlg->addVBoxPage( i18n( "Run Options" ), i18n( "Run Options" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
RunOptionsWidget *w1 = new RunOptionsWidget( *projectDom(), "/kdevcustomproject", buildDirectory(), vbox ); RunOptionsWidget *w1 = new RunOptionsWidget( *projectDom(), "/kdevcustomproject", buildDirectory(), vbox );
connect( dlg, TQT_SIGNAL( okClicked() ), w1, TQT_SLOT( accept() ) ); connect( dlg, TQT_SIGNAL( okClicked() ), w1, TQT_SLOT( accept() ) );
vbox = dlg->addVBoxPage( i18n( "Build Options" ), i18n( "Build Options" ), BarIcon( "make", TDEIcon::SizeMedium ) ); vbox = dlg->addVBoxPage( i18n( "Build Options" ), i18n( "Build Options" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
TQTabWidget *buildtab = new TQTabWidget( vbox ); TQTabWidget *buildtab = new TQTabWidget( vbox );
CustomBuildOptionsWidget *w2 = new CustomBuildOptionsWidget( *projectDom(), buildtab ); CustomBuildOptionsWidget *w2 = new CustomBuildOptionsWidget( *projectDom(), buildtab );

@ -400,7 +400,7 @@ void PascalProjectPart::projectConfigWidget( KDialogBase * dlg )
connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
connect( dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(loadProjectConfig()) ); connect( dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(loadProjectConfig()) );
vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "make", TDEIcon::SizeMedium )); vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
RunOptionsWidget *w3 = new RunOptionsWidget(*projectDom(), "/kdevpascalproject", buildDirectory(), vbox); RunOptionsWidget *w3 = new RunOptionsWidget(*projectDom(), "/kdevpascalproject", buildDirectory(), vbox);
connect( dlg, TQT_SIGNAL(okClicked()), w3, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(okClicked()), w3, TQT_SLOT(accept()) );

@ -270,13 +270,13 @@ TQString TrollProjectPart::makeEnvironment()
void TrollProjectPart::projectConfigWidget(KDialogBase *dlg) void TrollProjectPart::projectConfigWidget(KDialogBase *dlg)
{ {
TQVBox *vbox; TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "make", TDEIcon::SizeMedium )); vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
RunOptionsWidget *optdlg = new RunOptionsWidget(*projectDom(), "/kdevtrollproject", buildDirectory(), vbox); RunOptionsWidget *optdlg = new RunOptionsWidget(*projectDom(), "/kdevtrollproject", buildDirectory(), vbox);
vbox = dlg->addVBoxPage(i18n("Make Options"), i18n("Make Options"), BarIcon( "make", TDEIcon::SizeMedium )); vbox = dlg->addVBoxPage(i18n("Make Options"), i18n("Make Options"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
MakeOptionsWidget *w4 = new MakeOptionsWidget(*projectDom(), "/kdevtrollproject", vbox); MakeOptionsWidget *w4 = new MakeOptionsWidget(*projectDom(), "/kdevtrollproject", vbox);
vbox = dlg->addVBoxPage(i18n("TQMake Manager"), i18n("TQMake Manager"), BarIcon( "make", TDEIcon::SizeMedium )); vbox = dlg->addVBoxPage(i18n("TQMake Manager"), i18n("TQMake Manager"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
QMakeOptionsWidget *qm = new QMakeOptionsWidget( projectDirectory(), *projectDom(), "/kdevtrollproject", vbox); QMakeOptionsWidget *qm = new QMakeOptionsWidget( projectDirectory(), *projectDom(), "/kdevtrollproject", vbox);

@ -68,7 +68,7 @@ void VisualBoyAdvancePart::slotExecute(){
void VisualBoyAdvancePart::projectConfigWidget(KDialogBase *dlg){ void VisualBoyAdvancePart::projectConfigWidget(KDialogBase *dlg){
TQVBox *vbox; TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "make", TDEIcon::SizeMedium )); vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
VBAConfigWidget* w = new VBAConfigWidget(this,vbox); VBAConfigWidget* w = new VBAConfigWidget(this,vbox);
connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
} }

@ -253,7 +253,7 @@ void ProblemReporter::configure()
void ProblemReporter::configWidget( KDialogBase* dlg ) void ProblemReporter::configWidget( KDialogBase* dlg )
{ {
kdDebug() << "ProblemReporter::configWidget()" << endl; kdDebug() << "ProblemReporter::configWidget()" << endl;
TQVBox *vbox = dlg->addVBoxPage(i18n("Ada Parsing"), i18n("Ada Parsing"), BarIcon( "source", TDEIcon::SizeMedium )); TQVBox *vbox = dlg->addVBoxPage(i18n("Ada Parsing"), i18n("Ada Parsing"), BarIcon( "text-x-src", TDEIcon::SizeMedium ));
ConfigureProblemReporter* w = new ConfigureProblemReporter( vbox ); ConfigureProblemReporter* w = new ConfigureProblemReporter( vbox );
connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept())); connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
connect(dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(configure())); connect(dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(configure()));

@ -208,7 +208,7 @@ void PHPSupportPart::slotConfigStored() {
} }
void PHPSupportPart::projectConfigWidget(KDialogBase *dlg) { void PHPSupportPart::projectConfigWidget(KDialogBase *dlg) {
TQVBox *vbox = dlg->addVBoxPage(i18n( "PHP Specific" ), i18n("PHP Settings"), BarIcon( "source", TDEIcon::SizeMedium )); TQVBox *vbox = dlg->addVBoxPage(i18n( "PHP Specific" ), i18n("PHP Settings"), BarIcon( "text-x-src", TDEIcon::SizeMedium ));
PHPConfigWidget* w = new PHPConfigWidget(configData,vbox, "php config widget"); PHPConfigWidget* w = new PHPConfigWidget(configData,vbox, "php config widget");
connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
} }

@ -132,7 +132,7 @@ void SQLSupportPart::loadConfig()
void SQLSupportPart::projectConfigWidget( KDialogBase *dlg ) void SQLSupportPart::projectConfigWidget( KDialogBase *dlg )
{ {
TQVBox *vbox = dlg->addVBoxPage( TQString( "SQL" ), i18n( "Specify Your Database Connections" ), BarIcon("source", TDEIcon::SizeMedium) ); TQVBox *vbox = dlg->addVBoxPage( TQString( "SQL" ), i18n( "Specify Your Database Connections" ), BarIcon("text-x-src", TDEIcon::SizeMedium) );
SqlConfigWidget *w = new SqlConfigWidget( (TQWidget*)vbox, "SQL config widget" ); SqlConfigWidget *w = new SqlConfigWidget( (TQWidget*)vbox, "SQL config widget" );
w->setProjectDom( projectDom() ); w->setProjectDom( projectDom() );
w->loadConfig(); w->loadConfig();

Loading…
Cancel
Save