diff options
author | Slávek Banko <[email protected]> | 2013-07-27 17:13:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-27 18:48:47 +0200 |
commit | a915aa74dc1acdd12de97f9d95a848b3b2a17abb (patch) | |
tree | f65d926875557195c5f6dd840a517e195eeda20e /src/configdialog.cpp | |
parent | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (diff) | |
download | tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.tar.gz tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.zip |
Initial TDE conversion
Diffstat (limited to 'src/configdialog.cpp')
-rw-r--r-- | src/configdialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/configdialog.cpp b/src/configdialog.cpp index 341ab58..c53930f 100644 --- a/src/configdialog.cpp +++ b/src/configdialog.cpp @@ -67,23 +67,23 @@ email : [email protected] #include <ntqlistview.h> #include <ntqcheckbox.h> -#include <kapplication.h> //kapp +#include <tdeapplication.h> //kapp #include <kcombobox.h> #include <kiconloader.h> #include <klineedit.h> -#include <klocale.h> +#include <tdelocale.h> #include <kstandarddirs.h> #include <kdebug.h> #include <dcopref.h> -#include <kconfig.h> -#include <kmessagebox.h> +#include <tdeconfig.h> +#include <tdemessagebox.h> ////////////////////////////////////////////////////////////////////////////////////////// // PUBLIC ////////////////////////////////////////////////////////////////////////////////////////// -TorkConfigDialog::TorkConfigDialog( TQWidget *parent, const char* name, KConfigSkeleton *config ) - : KConfigDialog( parent, name, config ),m_parent(parent) +TorkConfigDialog::TorkConfigDialog( TQWidget *parent, const char* name, TDEConfigSkeleton *config ) + : TDEConfigDialog( parent, name, config ),m_parent(parent) { setWFlags( WDestructiveClose ); @@ -137,7 +137,7 @@ TorkConfigDialog::TorkConfigDialog( TQWidget *parent, const char* name, KConfigS static_cast<TQLabel*>(label)->setPixmap( TQMessageBox::standardIcon( TQMessageBox::Information ) ); delete list; - //stop KFont Requesters getting stupidly large + //stop TDEFont Requesters getting stupidly large list = queryList( "TQLabel", "m_sampleLabel" ); for( TQObject *label = list->first(); label; label = list->next() ) static_cast<TQLabel*>(label)->setMaximumWidth( 250 ); @@ -229,19 +229,19 @@ void TorkConfigDialog::showPage( const TQCString& page ) { for( uint index = 0; index < m_pageList.count(); index++ ) { if ( m_pageList[index]->name() == page ) { - KConfigDialog::showPage( index ); + TDEConfigDialog::showPage( index ); return; } } } -/** Reimplemented from KConfigDialog */ +/** Reimplemented from TDEConfigDialog */ void TorkConfigDialog::addPage( TQWidget *page, const TQString &itemName, const TQString &pixmapName, const TQString &header, bool manage ) { // Add the widget pointer to our list, for later reference m_pageList << page; - KConfigDialog::addPage( page, itemName, pixmapName, header, manage ); + TDEConfigDialog::addPage( page, itemName, pixmapName, header, manage ); } @@ -258,7 +258,7 @@ void TorkConfigDialog::updateCustomSettings() //When settings are changed in the config dialog, this is called //to update all possibly changed values and apply them to Tor. - //TQListViews need to be handled outside of kconfigxt + //TQListViews need to be handled outside of tdeconfigxt TorkConfig::setQuickConfigure( m_quickconfig->QuickConfigure->currentItem() ); TorkConfig::setAccountingStart(m_myserver->AccountingStart->currentText()); |