summaryrefslogtreecommitdiffstats
path: root/src/kdevideextension.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/kdevideextension.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kdevideextension.cpp')
-rw-r--r--src/kdevideextension.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kdevideextension.cpp b/src/kdevideextension.cpp
index 98e9e7e2..0c35de83 100644
--- a/src/kdevideextension.cpp
+++ b/src/kdevideextension.cpp
@@ -19,11 +19,11 @@
***************************************************************************/
#include "kdevideextension.h"
-#include <qvbox.h>
-#include <qcheckbox.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
-#include <qcombobox.h>
+#include <tqvbox.h>
+#include <tqcheckbox.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqcombobox.h>
#include <klineedit.h>
#include <klocale.h>
@@ -54,7 +54,7 @@ void KDevIDEExtension::init()
void KDevIDEExtension::createGlobalSettingsPage(KDialogBase *dlg)
{
KConfig* config = kapp->config();
- QVBox *vbox = dlg->addVBoxPage(i18n("General"), i18n("General"), BarIcon("kdevelop", KIcon::SizeMedium) );
+ TQVBox *vbox = dlg->addVBoxPage(i18n("General"), i18n("General"), BarIcon("kdevelop", KIcon::SizeMedium) );
gsw = new SettingsWidget(vbox, "general settings widget");
gsw->projectsURL->setMode((int)KFile::Directory);
@@ -70,16 +70,16 @@ void KDevIDEExtension::createGlobalSettingsPage(KDialogBase *dlg)
gsw->userLocaleRadio->setChecked( !config->readBoolEntry( "ForceCLocale", true ) );
config->setGroup("General Options");
- gsw->projectsURL->setURL(config->readPathEntry("DefaultProjectsDir", QDir::homeDirPath()+"/"));
+ gsw->projectsURL->setURL(config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()+"/"));
gsw->designerButtonGroup->setButton( config->readNumEntry( "DesignerApp", 0 ) );
- QString DesignerSetting = config->readEntry( "DesignerSetting", "ExternalDesigner" );
+ TQString DesignerSetting = config->readEntry( "DesignerSetting", "ExternalDesigner" );
gsw->qtDesignerRadioButton->setChecked( DesignerSetting == "ExternalDesigner" );
gsw->seperateAppRadioButton->setChecked( DesignerSetting == "ExternalKDevDesigner" );
gsw->embeddedDesignerRadioButton->setChecked( DesignerSetting == "EmbeddedKDevDesigner" );
config->setGroup("TerminalEmulator");
- gsw->terminalEdit->setText( config->readEntry( "TerminalApplication", QString::fromLatin1("konsole") ) );
+ gsw->terminalEdit->setText( config->readEntry( "TerminalApplication", TQString::fromLatin1("konsole") ) );
bool useKDESetting = config->readBoolEntry( "UseKDESetting", true );
gsw->useKDETerminal->setChecked( useKDESetting );
gsw->useOtherTerminal->setChecked( !useKDESetting );
@@ -95,7 +95,7 @@ void KDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg)
config->writePathEntry("DefaultProjectsDir", gsw->projectsURL->url());
config->writeEntry("OutputViewFont", gsw->outputFont->font());
- QString DesignerSetting;
+ TQString DesignerSetting;
if ( gsw->qtDesignerRadioButton->isChecked() ) DesignerSetting = "ExternalDesigner";
if ( gsw->seperateAppRadioButton->isChecked() ) DesignerSetting = "ExternalKDevDesigner";
if ( gsw->embeddedDesignerRadioButton->isChecked() ) DesignerSetting = "EmbeddedKDevDesigner";
@@ -118,12 +118,12 @@ void KDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg)
config->writeEntry("TerminalApplication", gsw->terminalEdit->text().stripWhiteSpace() );
}
-QString KDevIDEExtension::xmlFile()
+TQString KDevIDEExtension::xmlFile()
{
return "kdevelopui.rc";
}
-QString KDevIDEExtension::defaultProfile()
+TQString KDevIDEExtension::defaultProfile()
{
return "IDE";
}