summaryrefslogtreecommitdiffstats
path: root/languages/cpp/ccconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/ccconfigwidget.cpp')
-rw-r--r--languages/cpp/ccconfigwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp
index 445940e6..196c4d16 100644
--- a/languages/cpp/ccconfigwidget.cpp
+++ b/languages/cpp/ccconfigwidget.cpp
@@ -22,7 +22,7 @@
#include <tqheader.h>
#include <tqcolor.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
// kde includes
#include <kdevproject.h>
@@ -230,7 +230,7 @@ void CCConfigWidget::slotRemovePCS()
return ;
TQString db = advancedOptions->selectedItem() ->text( 0 );
- TQString question = i18n( "Are you sure you want to delete the \"%1\" database?" ).tqarg( db );
+ TQString question = i18n( "Are you sure you want to delete the \"%1\" database?" ).arg( db );
KStandardDirs *dirs = m_pPart->instance() ->dirs();
TQString dbName = dirs->saveLocation( "data", "kdevcppsupport/pcs" ) + KURL::encode_string_no_slash( db ) + ".db";
@@ -561,7 +561,7 @@ void CCConfigWidget::openPluginPaths()
kdDebug(9024) << "Plugin paths opened" << endl;
QtBuildConfig* c = m_pPart->qtBuildConfig();
KDialog d( this );
- TQVBoxLayout* maintqlayout = new TQVBoxLayout( &d );
+ TQVBoxLayout* mainlayout = new TQVBoxLayout( &d );
KPushButton* ok = new KPushButton( KStdGuiItem::ok(), &d );
connect( ok, TQT_SIGNAL(clicked()), &d, TQT_SLOT(accept()));
KPushButton* cancel = new KPushButton( KStdGuiItem::cancel(), &d );
@@ -576,8 +576,8 @@ void CCConfigWidget::openPluginPaths()
req->setMode( KFile::Directory );
KEditListBox* p = new KEditListBox( i18n( "Plugin Paths" ), req->customEditor(), &d );
p->insertStringList( c->designerPluginPaths() );
- maintqlayout->addWidget( p );
- maintqlayout->addLayout( btns );
+ mainlayout->addWidget( p );
+ mainlayout->addLayout( btns );
d.resize( 450, 250 );
if( d.exec() == TQDialog::Accepted)
{