summaryrefslogtreecommitdiffstats
path: root/tdeutils
diff options
context:
space:
mode:
Diffstat (limited to 'tdeutils')
-rw-r--r--tdeutils/CMakeL10n.txt7
-rw-r--r--tdeutils/CMakeLists.txt6
-rw-r--r--tdeutils/Mainpage.dox1
-rw-r--r--tdeutils/Makefile.am2
-rw-r--r--tdeutils/kcmultidialog.cpp21
-rw-r--r--tdeutils/kcmultidialog.h4
-rw-r--r--tdeutils/kfind.cpp4
-rw-r--r--tdeutils/kfind.h10
-rw-r--r--tdeutils/kfinddialog.cpp25
-rw-r--r--tdeutils/kfinddialog.h4
-rw-r--r--tdeutils/kplugininfo.cpp2
-rw-r--r--tdeutils/kplugininfo.desktop76
-rw-r--r--tdeutils/kplugininfo.h2
-rw-r--r--tdeutils/kpluginselector.cpp45
-rw-r--r--tdeutils/kpluginselector.h4
-rw-r--r--tdeutils/kpluginselector_p.h4
-rw-r--r--tdeutils/kreplace.cpp8
-rw-r--r--tdeutils/kreplace.h14
-rw-r--r--tdeutils/kreplacedialog.cpp2
-rw-r--r--tdeutils/kreplacedialog.h2
-rw-r--r--tdeutils/ksettings/README.dox17
-rw-r--r--tdeutils/ksettings/TODO2
-rw-r--r--tdeutils/ksettings/componentsdialog.cpp17
-rw-r--r--tdeutils/ksettings/componentsdialog.h4
-rw-r--r--tdeutils/ksettings/dialog.cpp30
-rw-r--r--tdeutils/ksettings/dialog.h6
-rw-r--r--tdeutils/ksettings/dispatcher.cpp4
-rw-r--r--tdeutils/ksettings/dispatcher.h8
-rw-r--r--tdeutils/ksettings/pluginpage.cpp9
-rw-r--r--tdeutils/ksettings/pluginpage.h5
-rw-r--r--tdeutils/tdecmodulecontainer.cpp14
-rw-r--r--tdeutils/tdecmodulecontainer.h6
-rw-r--r--tdeutils/tdecmoduleinfo.cpp4
-rw-r--r--tdeutils/tdecmoduleinfo.h2
-rw-r--r--tdeutils/tdecmoduleloader.cpp5
-rw-r--r--tdeutils/tdecmoduleloader.h2
-rw-r--r--tdeutils/tdecmoduleproxy.cpp24
-rw-r--r--tdeutils/tdecmoduleproxy.h3
-rw-r--r--tdeutils/tdecmoduleproxyIfaceImpl.cpp8
-rw-r--r--tdeutils/tdecmoduleproxyIfaceImpl.h4
-rw-r--r--tdeutils/tdemultitabbar.cpp14
-rw-r--r--tdeutils/tdemultitabbar.h6
-rw-r--r--tdeutils/tdemultitabbar_p.h2
-rw-r--r--tdeutils/tests/kfindtest.cpp8
-rw-r--r--tdeutils/tests/kfindtest.h2
-rw-r--r--tdeutils/tests/kreplacetest.cpp12
-rw-r--r--tdeutils/tests/kreplacetest.h2
47 files changed, 173 insertions, 290 deletions
diff --git a/tdeutils/CMakeL10n.txt b/tdeutils/CMakeL10n.txt
new file mode 100644
index 000000000..4044063c4
--- /dev/null
+++ b/tdeutils/CMakeL10n.txt
@@ -0,0 +1,7 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kplugininfo.desktop/"
+ SOURCES kplugininfo.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/tdeutils/CMakeLists.txt b/tdeutils/CMakeLists.txt
index 1e1982da4..a69a51dda 100644
--- a/tdeutils/CMakeLists.txt
+++ b/tdeutils/CMakeLists.txt
@@ -41,7 +41,10 @@ install( FILES
##### other data ################################
-install( FILES kplugininfo.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kplugininfo.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+)
#### tdeutils #####################################
@@ -62,5 +65,4 @@ tde_add_library( ${target} SHARED AUTOMOC
EMBED ksettings-static
LINK tdeparts-shared
DESTINATION ${LIB_INSTALL_DIR}
- DEPENDENCIES dcopidl
)
diff --git a/tdeutils/Mainpage.dox b/tdeutils/Mainpage.dox
index f8fb0fd24..a19356c8c 100644
--- a/tdeutils/Mainpage.dox
+++ b/tdeutils/Mainpage.dox
@@ -21,4 +21,3 @@ Matthias Hoelzer-Kluepfel \<hoelzer@kde.org\>
// DOXYGEN_REFERENCES = tdecore tdeui tdeio
// DOXYGEN_SET_PROJECT_NAME = KUtils
-// vim:ts=4:sw=4:expandtab:filetype=doxygen
diff --git a/tdeutils/Makefile.am b/tdeutils/Makefile.am
index 3fbf76c54..66c69de69 100644
--- a/tdeutils/Makefile.am
+++ b/tdeutils/Makefile.am
@@ -27,5 +27,3 @@ METASOURCES = AUTO
DOXYGEN_REFERENCES = tdecore tdeui tdeio
include ../admin/Doxyfile.am
-
-# vim: et
diff --git a/tdeutils/kcmultidialog.cpp b/tdeutils/kcmultidialog.cpp
index cbdffaa7d..3d4fd5556 100644
--- a/tdeutils/kcmultidialog.cpp
+++ b/tdeutils/kcmultidialog.cpp
@@ -89,11 +89,11 @@ KCMultiDialog::KCMultiDialog( int dialogFace, const KGuiItem &user2,
inline void KCMultiDialog::init()
{
- connect( this, TQT_SIGNAL( finished()), TQT_SLOT( dialogClosed()));
+ connect( this, TQ_SIGNAL( finished()), TQ_SLOT( dialogClosed()));
showButton( User1, false );
showButton( User2, false );
enableButton(Apply, false);
- connect(this, TQT_SIGNAL(aboutToShowPage(TQWidget *)), this, TQT_SLOT(slotAboutToShow(TQWidget *)));
+ connect(this, TQ_SIGNAL(aboutToShowPage(TQWidget *)), this, TQ_SLOT(slotAboutToShow(TQWidget *)));
setInitialSize(TQSize(640,480));
moduleParentComponents.setAutoDelete( true );
@@ -310,7 +310,7 @@ void KCMultiDialog::addModule(const TDECModuleInfo& moduleinfo,
moduleParentComponents.insert( module,
new TQStringList( parentComponents ) );
- connect(module, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(clientChanged(bool)));
+ connect(module, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(clientChanged(bool)));
if( m_modules.count() == 0 )
aboutToShowPage( page );
@@ -338,7 +338,7 @@ void KCMultiDialog::removeAllModules()
{
kdDebug( 710 ) << "remove 2" << endl;
TDECModuleProxy * kcm = ( *it ).kcm;
- TQObject * page = TQT_TQOBJECT(kcm->parent());
+ TQObject * page = kcm->parent();
kcm->hide();
if( page )
{
@@ -368,7 +368,7 @@ void KCMultiDialog::slotAboutToShow(TQWidget *page)
if( ! obj )
return;
- TDECModuleProxy * module = ::tqqt_cast<TDECModuleProxy*>(obj);
+ TDECModuleProxy * module = ::tqt_cast<TDECModuleProxy*>(obj);
if( ! module )
return;
d->currentModule = module;
@@ -378,15 +378,15 @@ void KCMultiDialog::slotAboutToShow(TQWidget *page)
enableButton( KDialogBase::Default,
d->currentModule->buttons() & TDECModule::Default );
- disconnect( this, TQT_SIGNAL(user2Clicked()), 0, 0 );
+ disconnect( this, TQ_SIGNAL(user2Clicked()), 0, 0 );
if (d->currentModule->moduleInfo().needsRootPrivileges())
{
if ( !d->currentModule->rootMode() )
{ /* Enable the Admin Mode button */
enableButton( User2, true );
- connect( this, TQT_SIGNAL(user2Clicked()), d->currentModule, TQT_SLOT( runAsRoot() ));
- connect( this, TQT_SIGNAL(user2Clicked()), TQT_SLOT( disableRModeButton() ));
+ connect( this, TQ_SIGNAL(user2Clicked()), d->currentModule, TQ_SLOT( runAsRoot() ));
+ connect( this, TQ_SIGNAL(user2Clicked()), TQ_SLOT( disableRModeButton() ));
}
else
enableButton( User2, false);
@@ -401,7 +401,7 @@ void KCMultiDialog::rootExit()
void KCMultiDialog::disableRModeButton()
{
enableButton( User2, false );
- connect ( d->currentModule, TQT_SIGNAL( childClosed() ), TQT_SLOT( rootExit() ));
+ connect ( d->currentModule, TQ_SIGNAL( childClosed() ), TQ_SLOT( rootExit() ));
}
void KCMultiDialog::dialogClosed()
@@ -415,6 +415,3 @@ void KCMultiDialog::dialogClosed()
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
( *it ).kcm->deleteClient();
}
-
-
-// vim: sw=4 et sts=4
diff --git a/tdeutils/kcmultidialog.h b/tdeutils/kcmultidialog.h
index 444f2f4db..89aedf0a5 100644
--- a/tdeutils/kcmultidialog.h
+++ b/tdeutils/kcmultidialog.h
@@ -42,7 +42,7 @@ class TDECModuleInfo;
*/
class TDEUTILS_EXPORT KCMultiDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -284,5 +284,3 @@ private:
};
#endif //KCMULTIDIALOG_H
-
-// vim: sw=4 sts=4 et
diff --git a/tdeutils/kfind.cpp b/tdeutils/kfind.cpp
index 74fb46e9a..f306fa254 100644
--- a/tdeutils/kfind.cpp
+++ b/tdeutils/kfind.cpp
@@ -212,8 +212,8 @@ KDialogBase* KFind::findNextDialog( bool create )
if ( !m_dialog && create )
{
m_dialog = new KFindNextDialog( m_pattern, parentWidget() );
- connect( m_dialog, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( slotFindNext() ) );
- connect( m_dialog, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotDialogClosed() ) );
+ connect( m_dialog, TQ_SIGNAL( user1Clicked() ), this, TQ_SLOT( slotFindNext() ) );
+ connect( m_dialog, TQ_SIGNAL( finished() ), this, TQ_SLOT( slotDialogClosed() ) );
}
return m_dialog;
}
diff --git a/tdeutils/kfind.h b/tdeutils/kfind.h
index 054eeb259..c71f2a41e 100644
--- a/tdeutils/kfind.h
+++ b/tdeutils/kfind.h
@@ -50,11 +50,11 @@
*
* // Connect highlight signal to code which handles highlighting
* // of found text.
- * connect( m_find, TQT_SIGNAL( highlight( const TQString &, int, int ) ),
- * this, TQT_SLOT( slotHighlight( const TQString &, int, int ) ) );
+ * connect( m_find, TQ_SIGNAL( highlight( const TQString &, int, int ) ),
+ * this, TQ_SLOT( slotHighlight( const TQString &, int, int ) ) );
* // Connect findNext signal - called when pressing the button in the dialog
- * connect( m_find, TQT_SIGNAL( findNext() ),
- * this, TQT_SLOT( slotFindNext() ) );
+ * connect( m_find, TQ_SIGNAL( findNext() ),
+ * this, TQ_SLOT( slotFindNext() ) );
* \endcode
*
* If you are using a non-modal find dialog (the recommended new way
@@ -103,7 +103,7 @@
class TDEUTILS_EXPORT KFind :
public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdeutils/kfinddialog.cpp b/tdeutils/kfinddialog.cpp
index 47a876611..529043a16 100644
--- a/tdeutils/kfinddialog.cpp
+++ b/tdeutils/kfinddialog.cpp
@@ -116,7 +116,7 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
topLayout->setSpacing( KDialog::spacingHint() );
topLayout->setMargin( 0 );
- m_findGrp = new TQGroupBox(0, Qt::Vertical, i18n("Find"), page);
+ m_findGrp = new TQGroupBox(0, TQt::Vertical, i18n("Find"), page);
m_findGrp->layout()->setSpacing( KDialog::spacingHint() );
// m_findGrp->layout()->setMargin( KDialog::marginHint() );
m_findLayout = new TQGridLayout(m_findGrp->layout());
@@ -137,7 +137,7 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
m_findLayout->addWidget(m_regExpItem, 2, 1);
topLayout->addWidget(m_findGrp);
- m_replaceGrp = new TQGroupBox(0, Qt::Vertical, i18n("Replace With"), page);
+ m_replaceGrp = new TQGroupBox(0, TQt::Vertical, i18n("Replace With"), page);
m_replaceGrp->layout()->setSpacing( KDialog::spacingHint() );
// m_replaceGrp->layout()->setMargin( KDialog::marginHint() );
m_replaceLayout = new TQGridLayout(m_replaceGrp->layout());
@@ -159,7 +159,7 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
m_replaceLayout->addWidget(m_backRefItem, 2, 1);
topLayout->addWidget(m_replaceGrp);
- m_optionGrp = new TQGroupBox(0, Qt::Vertical, i18n("Options"), page);
+ m_optionGrp = new TQGroupBox(0, TQt::Vertical, i18n("Options"), page);
m_optionGrp->layout()->setSpacing(KDialog::spacingHint());
// m_optionGrp->layout()->setMargin(KDialog::marginHint());
optionsLayout = new TQGridLayout(m_optionGrp->layout());
@@ -193,13 +193,13 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
m_placeholders = 0L;
// signals and slots connections
- connect(m_selectedText, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSelectedTextToggled(bool)));
- connect(m_regExp, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotRegexCheckBoxToggled(bool)));
- connect(m_backRef, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPlaceholdersCheckBoxToggled(bool)));
- connect(m_regExpItem, TQT_SIGNAL(clicked()), this, TQT_SLOT(showPatterns()));
- connect(m_backRefItem, TQT_SIGNAL(clicked()), this, TQT_SLOT(showPlaceholders()));
+ connect(m_selectedText, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSelectedTextToggled(bool)));
+ connect(m_regExp, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotRegexCheckBoxToggled(bool)));
+ connect(m_backRef, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPlaceholdersCheckBoxToggled(bool)));
+ connect(m_regExpItem, TQ_SIGNAL(clicked()), this, TQ_SLOT(showPatterns()));
+ connect(m_backRefItem, TQ_SIGNAL(clicked()), this, TQ_SLOT(showPlaceholders()));
- connect(m_find, TQT_SIGNAL(textChanged ( const TQString & )),this, TQT_SLOT(textSearchChanged( const TQString & )));
+ connect(m_find, TQ_SIGNAL(textChanged ( const TQString & )),this, TQ_SLOT(textSearchChanged( const TQString & )));
// tab order
setTabOrder(m_find, m_regExp);
@@ -439,13 +439,13 @@ void KFindDialog::showPatterns()
{
if ( !d->m_regexpDialogQueryDone )
{
- d->m_regexpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) );
+ d->m_regexpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this );
d->m_regexpDialogQueryDone = true;
}
if ( d->m_regexpDialog )
{
- KRegExpEditorInterface *iface = tqt_dynamic_cast<KRegExpEditorInterface *>( d->m_regexpDialog );
+ KRegExpEditorInterface *iface = dynamic_cast<KRegExpEditorInterface *>( d->m_regexpDialog );
assert( iface );
iface->setRegExp( pattern() );
@@ -508,7 +508,7 @@ void KFindDialog::showPlaceholders()
if (!m_placeholders)
{
m_placeholders = new TQPopupMenu(this);
- connect( m_placeholders, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotPlaceholdersAboutToShow()) );
+ connect( m_placeholders, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(slotPlaceholdersAboutToShow()) );
}
// Insert the selection into the edit control.
@@ -556,5 +556,4 @@ void KFindDialog::slotOk()
if ( testWFlags( WShowModal ) )
accept();
}
-// kate: space-indent on; indent-width 4; replace-tabs on;
#include "kfinddialog.moc"
diff --git a/tdeutils/kfinddialog.h b/tdeutils/kfinddialog.h
index 687939e05..35710d72d 100644
--- a/tdeutils/kfinddialog.h
+++ b/tdeutils/kfinddialog.h
@@ -62,7 +62,7 @@ class TQCheckBox;
* else
* {
* m_findDia = new KFindDialog(false,...);
- * connect( m_findDia, TQT_SIGNAL(okClicked()), this, TQT_SLOT(findTextNext()) );
+ * connect( m_findDia, TQ_SIGNAL(okClicked()), this, TQ_SLOT(findTextNext()) );
* }
* \endcode
* Don't forget to delete and reset m_findDia when closed.
@@ -74,7 +74,7 @@ class TQCheckBox;
class TDEUTILS_EXPORT KFindDialog:
public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdeutils/kplugininfo.cpp b/tdeutils/kplugininfo.cpp
index 9ea0eb2bc..95a37ae53 100644
--- a/tdeutils/kplugininfo.cpp
+++ b/tdeutils/kplugininfo.cpp
@@ -355,5 +355,3 @@ void KPluginInfo::defaults()
kdDebug( 703 ) << k_funcinfo << endl;
setPluginEnabled( isPluginEnabledByDefault() );
}
-
-// vim: sw=4 sts=4 et
diff --git a/tdeutils/kplugininfo.desktop b/tdeutils/kplugininfo.desktop
index d88712b9d..0c97b59e6 100644
--- a/tdeutils/kplugininfo.desktop
+++ b/tdeutils/kplugininfo.desktop
@@ -2,82 +2,6 @@
Type=ServiceType
X-TDE-ServiceType=KPluginInfo
Name=TDE Plugin Information
-Name[af]=TDE Inprop module Informasie
-Name[ar]=معلومات ملحقات كيدي
-Name[az]=TDE Əlavə Mə'lumatı
-Name[be]=Звесткі аб дадатках TDE
-Name[bg]=Информация за приставките в TDE
-Name[bn]=কে.ডি.ই. প্লাগ-ইন তথ্য
-Name[br]=Titouroù al lugent TDE
-Name[bs]=TDE informacije o dodatku
-Name[ca]=Connector informatiu de TDE
-Name[cs]=Informace o pluginu TDE
-Name[csb]=Wëdowiédzô ò pluginsach TDE
-Name[cy]=Gwybodaeth Ategynnau TDE
-Name[da]=TDE's plugin-information
-Name[de]=TDE-Modul-Information
-Name[el]=Πληροφορίες πρόσθετου TDE
-Name[eo]=TDEa kromaĵinformo
-Name[es]=Información de los plugin de TDE
-Name[et]=TDE plugina info
-Name[eu]=TDEren plugin-en informazioa
-Name[fa]=اطلاعات وصلۀ TDE
-Name[fi]=TDE:n lisäosatiedot
-Name[fr]=Information sur le module TDE
-Name[fy]=TDE Plugin ynformaasje
-Name[ga]=Eolas Bhreiseán TDE
-Name[gl]=Información de Plugin de TDE
-Name[he]=מידע על תוספים של TDE
-Name[hi]=केडीई प्लगिन जानकारी
-Name[hr]=Podaci o TDE dodatku
-Name[hu]=A TDE bővítőmodulok áttekintése
-Name[id]=Informasi Plugin TDE
-Name[is]=TDE íforritsupplýsingar
-Name[it]=Informazioni plugin TDE
-Name[ja]=TDE プラグイン情報
-Name[ka]=TDE მოდულის ინფორმაცია
-Name[kk]=TDE модулі туралы мәлімет
-Name[km]=ព័ត៌មាន​កម្មវិធី​ជំនួយ​ខាង​ក្នុង TDE
-Name[ko]=TDE 플러그인 정보
-Name[lb]=TDE-Plugininformatioun
-Name[lt]=TDE priedų informacija
-Name[lv]=TDE spraudņa informācija
-Name[mk]=TDE Информација за приклучок
-Name[mn]=КДЭ плугин мэдээлэл
-Name[ms]=Maklumat Plugmasuk TDE
-Name[nb]=TDEs informasjon om programtillegg
-Name[nds]=Plugin-Informatschoon
-Name[ne]=TDE प्लगइन सूचना
-Name[nl]=TDE-plugininformatie
-Name[nn]=Informasjon om TDE-programtillegg
-Name[pa]=TDE ਪਲੱਗਿੰਨ ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o wtyczkach TDE
-Name[pt]=Informação do 'Plugin' do TDE
-Name[pt_BR]=Informações do Plug-in do TDE
-Name[ro]=Informaţii modul TDE
-Name[ru]=Сведения о модуле TDE
-Name[rw]=Ibisobanuro by'Icomeka TDE
-Name[se]=Dieđut TDE-moduvlla birra
-Name[sk]=Informácia o module TDE
-Name[sl]=Informacija o vstavkih v TDE
-Name[sq]=Informata për Shtojca të TDE
-Name[sr]=Информација о TDE dodatku
-Name[sr@Latn]=Informacija o TDE dodatku
-Name[sv]=TDE-insticksinformation
-Name[ta]=TDE சொருகுப்பொருள் தகவல்
-Name[te]=కెడిఈ ప్లగిన్ సమాచారం
-Name[tg]=TDE барномаҳои чоп кунӣ
-Name[th]=ข้อมูลปลั้กอินของ TDE
-Name[tr]=TDE Eklenti Bilgisi
-Name[tt]=TDE Östämäse Turında
-Name[uk]=Інформація про втулок TDE
-Name[uz]=TDE plagin haqida maʼlumot
-Name[uz@cyrillic]=TDE плагин ҳақида маълумот
-Name[vi]=Thông tin bộ cầm phít TDE
-Name[wa]=Informåcion sol tchôke-divins di TDE
-Name[zh_CN]=TDE 打印信息
-Name[zh_HK]=TDE 外掛資訊
-Name[zh_TW]=TDE 外掛資訊
[PropertyDef::X-TDE-PluginInfo-Author]
Type=TQString
diff --git a/tdeutils/kplugininfo.h b/tdeutils/kplugininfo.h
index ae11870f2..f314c6aaf 100644
--- a/tdeutils/kplugininfo.h
+++ b/tdeutils/kplugininfo.h
@@ -314,6 +314,4 @@ class TDEUTILS_EXPORT KPluginInfo
class KPluginInfoPrivate;
KPluginInfoPrivate * d;
};
-
-// vim: sw=4 sts=4 et tw=80
#endif // KPLUGININFO_H
diff --git a/tdeutils/kpluginselector.cpp b/tdeutils/kpluginselector.cpp
index 9fe08b027..af771bd8f 100644
--- a/tdeutils/kpluginselector.cpp
+++ b/tdeutils/kpluginselector.cpp
@@ -184,14 +184,14 @@ void KPluginSelectionWidget::init( const TQValueList<KPluginInfo*> & plugininfos
( new TQVBoxLayout( this, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
TDEListView * listview = new TDEListView( this );
d->tooltip = new KPluginListViewToolTip( listview->viewport(), listview );
- connect( listview, TQT_SIGNAL( pressed( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
- connect( listview, TQT_SIGNAL( spacePressed( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
- connect( listview, TQT_SIGNAL( returnPressed( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
- connect( listview, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
+ connect( listview, TQ_SIGNAL( pressed( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
+ connect( listview, TQ_SIGNAL( spacePressed( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
+ connect( listview, TQ_SIGNAL( returnPressed( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
+ connect( listview, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
listview->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
listview->setAcceptDrops( false );
listview->setFullWidth( true );
@@ -246,7 +246,7 @@ TQWidget * KPluginSelectionWidget::insertKCM( TQWidget * parent,
{
//FIXME: not very verbose
TQLabel * label = new TQLabel( i18n( "Error" ), parent );
- label->setAlignment( Qt::AlignCenter );
+ label->setAlignment( TQt::AlignCenter );
return label;
}
@@ -256,7 +256,7 @@ TQWidget * KPluginSelectionWidget::insertKCM( TQWidget * parent,
moduleinfo.service()->property(
"X-TDE-ParentComponents" ).toStringList() );
d->moduleParentComponents.insert( module, parentComponents );
- connect( module, TQT_SIGNAL( changed( bool ) ), TQT_SLOT( clientChanged( bool ) ) );
+ connect( module, TQ_SIGNAL( changed( bool ) ), TQ_SLOT( clientChanged( bool ) ) );
return module;
}
@@ -264,7 +264,7 @@ void KPluginSelectionWidget::embeddPluginKCMs( KPluginInfo * plugininfo, bool ch
{
//if we have Services for the plugin we should be able to
//create KCM(s)
- TQApplication::setOverrideCursor( Qt::WaitCursor );
+ TQApplication::setOverrideCursor( TQt::WaitCursor );
if( plugininfo->kcmServices().size() > 1 )
{
// we need a tabwidget
@@ -523,7 +523,7 @@ KPluginSelector::KPluginSelector( TQWidget * parent, const char * name )
TQBoxLayout * hbox = new TQHBoxLayout( this, 0, KDialog::spacingHint() );
hbox->setAutoAdd( true );
- TQSplitter* splitter = new TQSplitter( Qt::Horizontal, this );
+ TQSplitter* splitter = new TQSplitter( TQt::Horizontal, this );
d->frame = new TQFrame( splitter, "KPluginSelector left frame" );
d->frame->setFrameStyle( TQFrame::NoFrame );
( new TQVBoxLayout( d->frame, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
@@ -536,7 +536,7 @@ KPluginSelector::KPluginSelector( TQWidget * parent, const char * name )
TQLabel * label = new TQLabel( i18n( "(This plugin is not configurable)" ),
d->widgetstack );
( new TQVBoxLayout( label, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
- label->setAlignment( Qt::AlignCenter );
+ label->setAlignment( TQt::AlignCenter );
label->setMinimumSize( 200, 200 );
d->widgetstack->addWidget( label, 1 );
@@ -564,8 +564,8 @@ void KPluginSelector::checkNeedForTabWidget()
"KPluginSelector TabWidget" );
w->reparent( d->tabwidget, TQPoint( 0, 0 ) );
d->tabwidget->addTab( w, w->catName() );
- connect( d->tabwidget, TQT_SIGNAL( currentChanged( TQWidget * ) ), w,
- TQT_SLOT( tabWidgetChanged( TQWidget * ) ) );
+ connect( d->tabwidget, TQ_SIGNAL( currentChanged( TQWidget * ) ), w,
+ TQ_SLOT( tabWidgetChanged( TQWidget * ) ) );
}
}
}
@@ -605,16 +605,16 @@ void KPluginSelector::addPluginsInternal( const TQValueList<KPluginInfo*> plugin
w = new KPluginSelectionWidget( plugininfos, this,
d->tabwidget, catname, category, cfgGroup );
d->tabwidget->addTab( w, catname );
- connect( d->tabwidget, TQT_SIGNAL( currentChanged( TQWidget * ) ), w,
- TQT_SLOT( tabWidgetChanged( TQWidget * ) ) );
+ connect( d->tabwidget, TQ_SIGNAL( currentChanged( TQWidget * ) ), w,
+ TQ_SLOT( tabWidgetChanged( TQWidget * ) ) );
}
else
w = new KPluginSelectionWidget( plugininfos, this, d->frame,
catname, category, cfgGroup );
w->setMinimumSize( 200, 200 );
- connect( w, TQT_SIGNAL( changed( bool ) ), this, TQT_SIGNAL( changed( bool ) ) );
- connect( w, TQT_SIGNAL( configCommitted( const TQCString & ) ), this,
- TQT_SIGNAL( configCommitted( const TQCString & ) ) );
+ connect( w, TQ_SIGNAL( changed( bool ) ), this, TQ_SIGNAL( changed( bool ) ) );
+ connect( w, TQ_SIGNAL( configCommitted( const TQCString & ) ), this,
+ TQ_SIGNAL( configCommitted( const TQCString & ) ) );
d->pswidgets += w;
}
@@ -696,7 +696,7 @@ void KPluginSelector::defaults()
// tabwidget - defaults() will be called for all of them)
TQWidget * pluginconfig = d->widgetstack->visibleWidget();
- TDECModuleProxy * kcm = ::tqqt_cast<TDECModuleProxy*>(pluginconfig);
+ TDECModuleProxy * kcm = ::tqt_cast<TDECModuleProxy*>(pluginconfig);
if( kcm )
{
kdDebug( 702 ) << "call TDECModule::defaults() for the plugins KCM"
@@ -719,8 +719,5 @@ void KPluginSelector::defaults()
delete kcms;
// FIXME: update changed state
}
-
-// vim: sw=4 sts=4 et
-
#include "kpluginselector.moc"
#include "kpluginselector_p.moc"
diff --git a/tdeutils/kpluginselector.h b/tdeutils/kpluginselector.h
index ae643750e..12d484d0e 100644
--- a/tdeutils/kpluginselector.h
+++ b/tdeutils/kpluginselector.h
@@ -61,7 +61,7 @@ class TDEUTILS_EXPORT KPluginSelector : public TQWidget
{
friend class KPluginSelectionWidget;
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Create a new KPluginSelector.
@@ -213,6 +213,4 @@ class TDEUTILS_EXPORT KPluginSelector : public TQWidget
class KPluginSelectorPrivate;
KPluginSelectorPrivate * d;
};
-
-// vim: sw=4 sts=4 et tw=80
#endif // KPLUGINSELECTOR_H
diff --git a/tdeutils/kpluginselector_p.h b/tdeutils/kpluginselector_p.h
index c287ce555..1983a6468 100644
--- a/tdeutils/kpluginselector_p.h
+++ b/tdeutils/kpluginselector_p.h
@@ -41,7 +41,7 @@ class TDECModuleInfo;
*/
class KPluginSelectionWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Create a new Plugin Selector widget.
@@ -183,6 +183,4 @@ class KPluginSelectionWidget : public TQWidget
struct KPluginSelectionWidgetPrivate;
KPluginSelectionWidgetPrivate * d;
};
-
-// vim: sw=4 sts=4 et
#endif // KPLUGINSELECTOR_P_H
diff --git a/tdeutils/kreplace.cpp b/tdeutils/kreplace.cpp
index 98e3ce93c..9540d2d7a 100644
--- a/tdeutils/kreplace.cpp
+++ b/tdeutils/kreplace.cpp
@@ -91,10 +91,10 @@ KReplaceNextDialog* KReplace::dialog()
if ( !m_dialog )
{
m_dialog = new KReplaceNextDialog( parentWidget() );
- connect( m_dialog, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( slotReplaceAll() ) );
- connect( m_dialog, TQT_SIGNAL( user2Clicked() ), this, TQT_SLOT( slotSkip() ) );
- connect( m_dialog, TQT_SIGNAL( user3Clicked() ), this, TQT_SLOT( slotReplace() ) );
- connect( m_dialog, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotDialogClosed() ) );
+ connect( m_dialog, TQ_SIGNAL( user1Clicked() ), this, TQ_SLOT( slotReplaceAll() ) );
+ connect( m_dialog, TQ_SIGNAL( user2Clicked() ), this, TQ_SLOT( slotSkip() ) );
+ connect( m_dialog, TQ_SIGNAL( user3Clicked() ), this, TQ_SLOT( slotReplace() ) );
+ connect( m_dialog, TQ_SIGNAL( finished() ), this, TQ_SLOT( slotDialogClosed() ) );
}
return static_cast<KReplaceNextDialog *>(m_dialog);
}
diff --git a/tdeutils/kreplace.h b/tdeutils/kreplace.h
index e30e20b44..f14887e25 100644
--- a/tdeutils/kreplace.h
+++ b/tdeutils/kreplace.h
@@ -50,14 +50,14 @@ class KReplaceNextDialog;
*
* // Connect signals to code which handles highlighting
* // of found text, and on-the-fly replacement.
- * connect( m_replace, TQT_SIGNAL( highlight( const TQString &, int, int ) ),
- * this, TQT_SLOT( slotHighlight( const TQString &, int, int ) ) );
+ * connect( m_replace, TQ_SIGNAL( highlight( const TQString &, int, int ) ),
+ * this, TQ_SLOT( slotHighlight( const TQString &, int, int ) ) );
* // Connect findNext signal - called when pressing the button in the dialog
- * connect( m_replace, TQT_SIGNAL( findNext() ),
- * this, TQT_SLOT( slotReplaceNext() ) );
+ * connect( m_replace, TQ_SIGNAL( findNext() ),
+ * this, TQ_SLOT( slotReplaceNext() ) );
* // Connect replace signal - called when doing a replacement
- * connect( m_replace, TQT_SIGNAL( replace(const TQString &, int, int, int) ),
- * this, TQT_SLOT( slotReplace(const TQString &, int, int, int) ) );
+ * connect( m_replace, TQ_SIGNAL( replace(const TQString &, int, int, int) ),
+ * this, TQ_SLOT( slotReplace(const TQString &, int, int, int) ) );
* \endcode
* Then initialize the variables determining the "current position"
* (to the cursor, if the option FromCursor is set,
@@ -97,7 +97,7 @@ class KReplaceNextDialog;
class TDEUTILS_EXPORT KReplace :
public KFind
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdeutils/kreplacedialog.cpp b/tdeutils/kreplacedialog.cpp
index d8e74af44..59c408b8b 100644
--- a/tdeutils/kreplacedialog.cpp
+++ b/tdeutils/kreplacedialog.cpp
@@ -155,6 +155,4 @@ void KReplaceDialog::slotOk()
KFindDialog::slotOk();
m_replace->addToHistory(replacement());
}
-
-// kate: space-indent on; indent-width 4; replace-tabs on;
#include "kreplacedialog.moc"
diff --git a/tdeutils/kreplacedialog.h b/tdeutils/kreplacedialog.h
index 573a059f2..9e787730e 100644
--- a/tdeutils/kreplacedialog.h
+++ b/tdeutils/kreplacedialog.h
@@ -59,7 +59,7 @@ class TQRect;
class TDEUTILS_EXPORT KReplaceDialog:
public KFindDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdeutils/ksettings/README.dox b/tdeutils/ksettings/README.dox
index 88268f671..83a71767e 100644
--- a/tdeutils/ksettings/README.dox
+++ b/tdeutils/ksettings/README.dox
@@ -15,7 +15,7 @@ the following:
create the 'Configure MyApp' StdAction like this:
\code
-KStdAction::preferences( this, SLOT( showConfigDialog() ), actionCollection );
+KStdAction::preferences( this, TQ_SLOT( showConfigDialog() ), actionCollection );
\endcode
and the slot looks like this:
@@ -35,7 +35,7 @@ KSettings::Dialog:
m_dlg = new KSettings::Dialog( QStringList::split( ';', "component1;component2" ) );
\endcode
-The KSettings::Dialog object will be destructed automatically by the QObject
+The KSettings::Dialog object will be destructed automatically by the TQObject
mechanisms.
@@ -47,9 +47,9 @@ Every page is a KCM. This is what you need for creating a page:
\code
class MyAppConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
- MyAppConfig( QWidget *parent, const char *name = 0, const QStringList &args =
+ MyAppConfig( TQWidget *parent, const char *name = 0, const QStringList &args =
QStringList() );
~MyAppConfig();
@@ -62,11 +62,11 @@ public:
and in the cpp file:
\code
-typedef KGenericFactory<MyAppConfig, QWidget> MyAppConfigFactory;
+typedef KGenericFactory<MyAppConfig, TQWidget> MyAppConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_myappconfig, MyAppConfigFactory(
"kcm_myappconfig" ) );
-MyAppConfig::MyAppConfig( QWidget *parent, const char *, const QStringList &args )
+MyAppConfig::MyAppConfig( TQWidget *parent, const char *, const QStringList &args )
: TDECModule( MyAppConfigFactory::instance(), parent, args )
{
// create the pages GUI
@@ -191,10 +191,10 @@ for the first.
To create a plugin page you need the following code:
\code
-typedef KGenericFactory<MyAppPluginConfig, QWidget> MyAppPluginConfigFactory;
+typedef KGenericFactory<MyAppPluginConfig, TQWidget> MyAppPluginConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_myapppluginconfig, MyAppPluginConfigFactory( "kcm_myapppluginconfig" ) );
-MyAppPluginConfig( QWidget * parent, const char *, const QStringList & args )
+MyAppPluginConfig( TQWidget * parent, const char *, const QStringList & args )
: PluginPage( MyAppPluginConfigFactory::instance(), parent, args )
{
pluginSelector()->addPlugins( ... );
@@ -273,4 +273,3 @@ optional entries:
If you have questions contact Matthias Kretz <kretz@kde.org>.
*/
-// vim: tw=80
diff --git a/tdeutils/ksettings/TODO b/tdeutils/ksettings/TODO
index 9950ddfd9..274af568a 100644
--- a/tdeutils/ksettings/TODO
+++ b/tdeutils/ksettings/TODO
@@ -9,5 +9,3 @@
- automatically save changes of hidden modules when the dialog is deleted
- ask as soon as KCMultiDialog can detect that there are unsaved changes to
hidden KCMs (it might even be possible to show the KCMs for that)
-
-# vim: tw=80
diff --git a/tdeutils/ksettings/componentsdialog.cpp b/tdeutils/ksettings/componentsdialog.cpp
index f60613bce..164ea19a5 100644
--- a/tdeutils/ksettings/componentsdialog.cpp
+++ b/tdeutils/ksettings/componentsdialog.cpp
@@ -71,14 +71,14 @@ ComponentsDialog::ComponentsDialog( TQWidget * parent, const char * name )
d->listview->setSelectionModeExt( TDEListView::Single );
d->listview->setAllColumnsShowFocus( true );
- connect( d->listview, TQT_SIGNAL( pressed( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
- connect( d->listview, TQT_SIGNAL( spacePressed( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
- connect( d->listview, TQT_SIGNAL( returnPressed( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
- connect( d->listview, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), this,
- TQT_SLOT( executed( TQListViewItem * ) ) );
+ connect( d->listview, TQ_SIGNAL( pressed( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
+ connect( d->listview, TQ_SIGNAL( spacePressed( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
+ connect( d->listview, TQ_SIGNAL( returnPressed( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
+ connect( d->listview, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ), this,
+ TQ_SLOT( executed( TQListViewItem * ) ) );
}
ComponentsDialog::~ComponentsDialog()
@@ -177,4 +177,3 @@ void ComponentsDialog::slotApply()
} //namespace
#include "componentsdialog.moc"
-// vim: sw=4 sts=4 et
diff --git a/tdeutils/ksettings/componentsdialog.h b/tdeutils/ksettings/componentsdialog.h
index d9ad73f6d..ca6d029a9 100644
--- a/tdeutils/ksettings/componentsdialog.h
+++ b/tdeutils/ksettings/componentsdialog.h
@@ -39,7 +39,7 @@ namespace KSettings
*/
class TDEUTILS_EXPORT ComponentsDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
Create Dialog.
@@ -83,6 +83,4 @@ class TDEUTILS_EXPORT ComponentsDialog : public KDialogBase
};
}
-
-// vim: sw=4 sts=4 et
#endif // KSETTINGS_COMPONENTSDIALOG_H
diff --git a/tdeutils/ksettings/dialog.cpp b/tdeutils/ksettings/dialog.cpp
index e74b9ac48..609d8cb16 100644
--- a/tdeutils/ksettings/dialog.cpp
+++ b/tdeutils/ksettings/dialog.cpp
@@ -588,14 +588,14 @@ void Dialog::createDialogFromServices()
if( ! d->staticlistview )
d->dlg->addButtonBelowList( i18n( "Select Components..." ), this,
- TQT_SLOT( configureTree() ) );
+ TQ_SLOT( configureTree() ) );
- connect( d->dlg, TQT_SIGNAL( okClicked() ), Dispatcher::self(),
- TQT_SLOT( syncConfiguration() ) );
- connect( d->dlg, TQT_SIGNAL( applyClicked() ), Dispatcher::self(),
- TQT_SLOT( syncConfiguration() ) );
- connect( d->dlg, TQT_SIGNAL( configCommitted( const TQCString & ) ),
- Dispatcher::self(), TQT_SLOT( reparseConfiguration( const TQCString & ) ) );
+ connect( d->dlg, TQ_SIGNAL( okClicked() ), Dispatcher::self(),
+ TQ_SLOT( syncConfiguration() ) );
+ connect( d->dlg, TQ_SIGNAL( applyClicked() ), Dispatcher::self(),
+ TQ_SLOT( syncConfiguration() ) );
+ connect( d->dlg, TQ_SIGNAL( configCommitted( const TQCString & ) ),
+ Dispatcher::self(), TQ_SLOT( reparseConfiguration( const TQCString & ) ) );
d->pagetree.addToDialog( d->dlg );
@@ -609,13 +609,13 @@ void Dialog::configureTree()
ComponentsDialog * subdlg = new ComponentsDialog( d->dlg );
subdlg->setPluginInfos( d->plugininfomap );
subdlg->show();
- connect( subdlg, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( updateTreeList() ) );
- connect( subdlg, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( updateTreeList() ) );
- connect( subdlg, TQT_SIGNAL( okClicked() ), this,
- TQT_SIGNAL( pluginSelectionChanged() ) );
- connect( subdlg, TQT_SIGNAL( applyClicked() ), this,
- TQT_SIGNAL( pluginSelectionChanged() ) );
- connect( subdlg, TQT_SIGNAL( finished() ), subdlg, TQT_SLOT( delayedDestruct() ) );
+ connect( subdlg, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( updateTreeList() ) );
+ connect( subdlg, TQ_SIGNAL( applyClicked() ), this, TQ_SLOT( updateTreeList() ) );
+ connect( subdlg, TQ_SIGNAL( okClicked() ), this,
+ TQ_SIGNAL( pluginSelectionChanged() ) );
+ connect( subdlg, TQ_SIGNAL( applyClicked() ), this,
+ TQ_SIGNAL( pluginSelectionChanged() ) );
+ connect( subdlg, TQ_SIGNAL( finished() ), subdlg, TQ_SLOT( delayedDestruct() ) );
}
void Dialog::updateTreeList()
@@ -638,5 +638,3 @@ void Dialog::updateTreeList()
} //namespace
#include "dialog.moc"
-
-// vim: sw=4 ts=4 noet
diff --git a/tdeutils/ksettings/dialog.h b/tdeutils/ksettings/dialog.h
index 1ddb1cf42..619c05749 100644
--- a/tdeutils/ksettings/dialog.h
+++ b/tdeutils/ksettings/dialog.h
@@ -59,7 +59,7 @@ namespace KSettings
* \endcode
* and the action for the config dialog is connected to the show slot:
* \code
- * KStdAction::preferences( m_cfgdlg, TQT_SLOT( show() ), actionCollection() );
+ * KStdAction::preferences( m_cfgdlg, TQ_SLOT( show() ), actionCollection() );
* \endcode
*
* If you need to be informed when the config was changed and applied in the
@@ -73,7 +73,7 @@ namespace KSettings
class TDEUTILS_EXPORT Dialog : public TQObject
{
friend class PageNode;
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Tells the dialog whether the entries in the listview are all static
@@ -219,6 +219,4 @@ class TDEUTILS_EXPORT Dialog : public TQObject
};
}
-
-// vim: sw=4 sts=4 et
#endif // KSETTINGS_DIALOG_H
diff --git a/tdeutils/ksettings/dispatcher.cpp b/tdeutils/ksettings/dispatcher.cpp
index 3a423422f..5cd5a4208 100644
--- a/tdeutils/ksettings/dispatcher.cpp
+++ b/tdeutils/ksettings/dispatcher.cpp
@@ -80,7 +80,7 @@ void Dispatcher::registerInstance( TDEInstance * instance, TQObject * recv, cons
sig->connect( recv, slot );
++m_instanceInfo[ instanceName ].count;
- connect( recv, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( unregisterInstance( TQObject * ) ) );
+ connect( recv, TQ_SIGNAL( destroyed( TQObject * ) ), this, TQ_SLOT( unregisterInstance( TQObject * ) ) );
}
TDEConfig * Dispatcher::configForInstanceName( const TQCString & instanceName )
@@ -153,5 +153,3 @@ void Dispatcher::unregisterInstance( TQObject * obj )
} //namespace
#include "dispatcher.moc"
-
-// vim: sw=4 sts=4 et
diff --git a/tdeutils/ksettings/dispatcher.h b/tdeutils/ksettings/dispatcher.h
index d9ad552a0..2cb0cdc2a 100644
--- a/tdeutils/ksettings/dispatcher.h
+++ b/tdeutils/ksettings/dispatcher.h
@@ -42,7 +42,7 @@ namespace KSettings
* into the TDEConfigureDialog you need a way to get notified. This is what you
* do:
* \code
- * Dispatcher::self()->registerInstance( instance(), this, TQT_SLOT( loadSettings() ) );
+ * Dispatcher::self()->registerInstance( instance(), this, TQ_SLOT( loadSettings() ) );
* \endcode
*
* @author Matthias Kretz <kretz@kde.org>
@@ -52,7 +52,7 @@ class TDEUTILS_EXPORT Dispatcher : public TQObject
{
friend class KStaticDeleter<Dispatcher>;
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Get a reference the the Dispatcher object.
@@ -69,7 +69,7 @@ class TDEUTILS_EXPORT Dispatcher : public TQObject
*
* @param instance The TDEInstance object
* @param recv The object that should receive the signal
- * @param slot The slot to be called: TQT_SLOT( slotName() )
+ * @param slot The slot to be called: TQ_SLOT( slotName() )
*/
void registerInstance( TDEInstance * instance, TQObject * recv, const char * slot );
@@ -128,6 +128,4 @@ class TDEUTILS_EXPORT Dispatcher : public TQObject
};
}
-
-// vim: sw=4 sts=4 et
#endif // KSETTINGS_DISPATCHER_H
diff --git a/tdeutils/ksettings/pluginpage.cpp b/tdeutils/ksettings/pluginpage.cpp
index c7208dc69..39af821e7 100644
--- a/tdeutils/ksettings/pluginpage.cpp
+++ b/tdeutils/ksettings/pluginpage.cpp
@@ -43,7 +43,7 @@ class PluginPage::PluginPagePrivate
{
( new TQVBoxLayout( this, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
d->selwid = new KPluginSelector( this );
- connect( d->selwid, TQT_SIGNAL( changed( bool ) ), this, TQT_SIGNAL( changed( bool ) ) );
+ connect( d->selwid, TQ_SIGNAL( changed( bool ) ), this, TQ_SIGNAL( changed( bool ) ) );
}
PluginPage::PluginPage( TDEInstance * instance, TQWidget * parent, const TQStringList & args )
@@ -52,9 +52,9 @@ class PluginPage::PluginPagePrivate
{
( new TQVBoxLayout( this, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
d->selwid = new KPluginSelector( this );
- connect( d->selwid, TQT_SIGNAL( changed( bool ) ), this, TQT_SIGNAL( changed( bool ) ) );
- connect( d->selwid, TQT_SIGNAL( configCommitted( const TQCString & ) ),
- Dispatcher::self(), TQT_SLOT( reparseConfiguration( const TQCString & ) ) );
+ connect( d->selwid, TQ_SIGNAL( changed( bool ) ), this, TQ_SIGNAL( changed( bool ) ) );
+ connect( d->selwid, TQ_SIGNAL( configCommitted( const TQCString & ) ),
+ Dispatcher::self(), TQ_SLOT( reparseConfiguration( const TQCString & ) ) );
}
PluginPage::~PluginPage()
@@ -85,4 +85,3 @@ void PluginPage::defaults()
} //namespace
#include "pluginpage.moc"
-// vim: sw=4 sts=4 et
diff --git a/tdeutils/ksettings/pluginpage.h b/tdeutils/ksettings/pluginpage.h
index 1eeeab7dc..f3dc1c946 100644
--- a/tdeutils/ksettings/pluginpage.h
+++ b/tdeutils/ksettings/pluginpage.h
@@ -72,7 +72,7 @@ namespace KSettings
*/
class TDEUTILS_EXPORT PluginPage : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Standart TDECModule constructor. Automatically creates the the
@@ -114,7 +114,4 @@ class TDEUTILS_EXPORT PluginPage : public TDECModule
};
}
-
-// vim: sw=4 sts=4 et
-
#endif // KSETTINGS_PLUGINPAGE_H
diff --git a/tdeutils/tdecmodulecontainer.cpp b/tdeutils/tdecmodulecontainer.cpp
index 2df7a0421..7a0337615 100644
--- a/tdeutils/tdecmodulecontainer.cpp
+++ b/tdeutils/tdecmodulecontainer.cpp
@@ -91,7 +91,7 @@ void TDECModuleContainer::init()
d->topLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint(), "topLayout" );
d->tabWidget = new TQTabWidget(this, "tabWidget");
d->tabWidget->setMargin(KDialog::marginHint());
- connect( d->tabWidget, TQT_SIGNAL( currentChanged( TQWidget* ) ), TQT_SLOT( tabSwitched( TQWidget* ) ));
+ connect( d->tabWidget, TQ_SIGNAL( currentChanged( TQWidget* ) ), TQ_SLOT( tabSwitched( TQWidget* ) ));
d->topLayout->addWidget( d->tabWidget );
if ( !d->modules.isEmpty() )
@@ -152,7 +152,7 @@ void TDECModuleContainer::addModule( const TQString& module )
d->tabWidget->setTabToolTip( proxy, proxy->moduleInfo().comment() );
- connect( proxy, TQT_SIGNAL(changed(TDECModuleProxy *)), TQT_SLOT(moduleChanged(TDECModuleProxy *)));
+ connect( proxy, TQ_SIGNAL(changed(TDECModuleProxy *)), TQ_SLOT(moduleChanged(TDECModuleProxy *)));
/* Collect our buttons - we go for the common deliminator */
d->buttons = d->buttons | proxy->realModule()->buttons();
@@ -178,10 +178,10 @@ void TDECModuleContainer::tabSwitched( TQWidget * module )
if ( mod->moduleInfo().needsRootPrivileges() && !mod->rootMode() ) {
d->btnRootMode->setEnabled( true );
- connect( d->btnRootMode, TQT_SIGNAL( clicked() ),
- TQT_SLOT( runAsRoot() ));
- connect( mod, TQT_SIGNAL( childClosed() ),
- TQT_SLOT ( rootExited() ));
+ connect( d->btnRootMode, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( runAsRoot() ));
+ connect( mod, TQ_SIGNAL( childClosed() ),
+ TQ_SLOT ( rootExited() ));
}
else {
d->btnRootMode->setEnabled( false );
@@ -205,7 +205,7 @@ void TDECModuleContainer::runAsRoot()
void TDECModuleContainer::rootExited()
{
- connect( d->btnRootMode, TQT_SIGNAL( clicked() ), TQT_SLOT( runAsRoot() ));
+ connect( d->btnRootMode, TQ_SIGNAL( clicked() ), TQ_SLOT( runAsRoot() ));
d->btnRootMode->setEnabled( true );
}
diff --git a/tdeutils/tdecmodulecontainer.h b/tdeutils/tdecmodulecontainer.h
index 6d6717370..4cfb2ca03 100644
--- a/tdeutils/tdecmodulecontainer.h
+++ b/tdeutils/tdecmodulecontainer.h
@@ -52,7 +52,7 @@ class TDECModuleProxy;
*/
class TDEUTILS_EXPORT TDECModuleContainer : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Creates a TDECModuleContainer with tabs, each one containing one of the
@@ -203,8 +203,12 @@ extern "C" \
{ \
TQStringList modList = TQStringList::split( ",", TQString(modules).remove( " " )); \
for ( TQStringList::Iterator it = modList.begin(); it != modList.end(); ++it ) \
+ { \
if ( TDECModuleLoader::testModule( *it ) ) \
+ { \
return true; \
+ } \
+ } \
return false; \
} \
}
diff --git a/tdeutils/tdecmoduleinfo.cpp b/tdeutils/tdecmoduleinfo.cpp
index 0b0f7f4e8..9eeac6585 100644
--- a/tdeutils/tdecmoduleinfo.cpp
+++ b/tdeutils/tdecmoduleinfo.cpp
@@ -236,7 +236,3 @@ void TDECModuleInfo::setNeedsTest( bool val )
{
d->testModule = val;
}
-
-
-
-// vim: ts=2 sw=2 et
diff --git a/tdeutils/tdecmoduleinfo.h b/tdeutils/tdecmoduleinfo.h
index dd0071562..634dacace 100644
--- a/tdeutils/tdecmoduleinfo.h
+++ b/tdeutils/tdecmoduleinfo.h
@@ -292,5 +292,3 @@ private:
};
#endif // TDECMODULEINFO_H
-
-// vim: ts=2 sw=2 et
diff --git a/tdeutils/tdecmoduleloader.cpp b/tdeutils/tdecmoduleloader.cpp
index ced28ae7a..907060ec7 100644
--- a/tdeutils/tdecmoduleloader.cpp
+++ b/tdeutils/tdecmoduleloader.cpp
@@ -72,7 +72,7 @@ TDECModule* TDECModuleLoader::load(const TDECModuleInfo &mod, const TQString &li
KLibFactory *factory = lib->factory();
if ( factory )
{
- TDECModule *module = KParts::ComponentFactory::createInstanceFromFactory<TDECModule>( factory, TQT_TQOBJECT(parent), name ? name : mod.handle().latin1(), args );
+ TDECModule *module = KParts::ComponentFactory::createInstanceFromFactory<TDECModule>( factory, parent, name ? name : mod.handle().latin1(), args );
if (module)
return module;
}
@@ -297,6 +297,3 @@ TDECModule* TDECModuleLoader::reportError( ErrorReporting report, const TQString
return new KCMError( text, details, parent );
return 0;
}
-
-// vim: ts=2 sw=2 et
-
diff --git a/tdeutils/tdecmoduleloader.h b/tdeutils/tdecmoduleloader.h
index 6d6856627..a96d23e66 100644
--- a/tdeutils/tdecmoduleloader.h
+++ b/tdeutils/tdecmoduleloader.h
@@ -214,7 +214,5 @@ class TDEUTILS_EXPORT TDECModuleLoader
const char * name = 0, const TQStringList & args = TQStringList() );
};
-
-// vim: ts=2 sw=2 et
#endif // MODLOADER_H
diff --git a/tdeutils/tdecmoduleproxy.cpp b/tdeutils/tdecmoduleproxy.cpp
index d074b8c02..b79e774cd 100644
--- a/tdeutils/tdecmoduleproxy.cpp
+++ b/tdeutils/tdecmoduleproxy.cpp
@@ -155,7 +155,7 @@ TDECModule * TDECModuleProxy::realModule() const
if( d->rootMode )
return 0;
- TQApplication::setOverrideCursor( Qt::WaitCursor );
+ TQApplication::setOverrideCursor( TQt::WaitCursor );
TDECModuleProxy * that = const_cast<TDECModuleProxy*>( this );
@@ -185,12 +185,12 @@ TDECModule * TDECModuleProxy::realModule() const
d->kcm = TDECModuleLoader::loadModule( moduleInfo(), TDECModuleLoader::Inline, d->withFallback,
that, name(), d->args );
- connect( d->kcm, TQT_SIGNAL( changed( bool ) ),
- TQT_SLOT(moduleChanged(bool)) );
- connect( d->kcm, TQT_SIGNAL( destroyed() ),
- TQT_SLOT( moduleDestroyed() ) );
- connect( d->kcm, TQT_SIGNAL(quickHelpChanged()),
- TQT_SIGNAL(quickHelpChanged()));
+ connect( d->kcm, TQ_SIGNAL( changed( bool ) ),
+ TQ_SLOT(moduleChanged(bool)) );
+ connect( d->kcm, TQ_SIGNAL( destroyed() ),
+ TQ_SLOT( moduleDestroyed() ) );
+ connect( d->kcm, TQ_SIGNAL(quickHelpChanged()),
+ TQ_SIGNAL(quickHelpChanged()));
TQWhatsThis::add( that, d->kcm->quickHelp() );
d->topLayout->addWidget( d->kcm );
@@ -234,8 +234,8 @@ TDECModule * TDECModuleProxy::realModule() const
d->dcopClient->attach();
d->dcopClient->setNotifications( true );
- connect( d->dcopClient, TQT_SIGNAL( applicationRemoved( const TQCString& )),
- TQT_SLOT( applicationRemoved( const TQCString& )));
+ connect( d->dcopClient, TQ_SIGNAL( applicationRemoved( const TQCString& )),
+ TQ_SLOT( applicationRemoved( const TQCString& )));
/* Figure out the name of where the module is already loaded */
TQByteArray replyData, data;
@@ -301,7 +301,7 @@ void TDECModuleProxy::runAsRoot()
if ( !moduleInfo().needsRootPrivileges() )
return;
- TQApplication::setOverrideCursor( Qt::WaitCursor );
+ TQApplication::setOverrideCursor( TQt::WaitCursor );
delete d->rootProcess;
delete d->embedWidget;
@@ -367,7 +367,7 @@ void TDECModuleProxy::runAsRoot()
*d->rootProcess << TQString("%1 %2 --embed-proxy %3 --lang %4").arg(locate("exe", "tdecmshell"))
.arg(cmd).arg(d->embedWidget->winId()).arg(TDEGlobal::locale()->language());
- connect(d->rootProcess, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(rootExited()));
+ connect(d->rootProcess, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(rootExited()));
if ( !d->rootProcess->start( TDEProcess::NotifyOnExit ))
{
@@ -670,5 +670,3 @@ void TDECModuleProxy::emitQuickHelpChanged()
/***************************************************************/
#include "tdecmoduleproxy.moc"
-
-// vim: sw=4 ts=4 noet
diff --git a/tdeutils/tdecmoduleproxy.h b/tdeutils/tdecmoduleproxy.h
index f5b570125..1aa337a23 100644
--- a/tdeutils/tdecmoduleproxy.h
+++ b/tdeutils/tdecmoduleproxy.h
@@ -67,7 +67,7 @@ class TDEProcess;
*/
class TDEUTILS_EXPORT TDECModuleProxy : public TQWidget
{
-Q_OBJECT
+TQ_OBJECT
friend class TDECModuleProxyRootCommunicatorImpl;
@@ -365,4 +365,3 @@ private:
};
#endif // TDECMODULEPROXY_H
-// vim: sw=4 ts=4 noet
diff --git a/tdeutils/tdecmoduleproxyIfaceImpl.cpp b/tdeutils/tdecmoduleproxyIfaceImpl.cpp
index 5b1bcc339..6e6f1b286 100644
--- a/tdeutils/tdecmoduleproxyIfaceImpl.cpp
+++ b/tdeutils/tdecmoduleproxyIfaceImpl.cpp
@@ -35,10 +35,10 @@ TDECModuleProxyIfaceImpl::TDECModuleProxyIfaceImpl( const TQCString& name,
: DCOPObject( name ), TQObject( 0, name ),
p( const_cast<TDECModuleProxy *>( client ))
{
- connect( p, TQT_SIGNAL( changed(bool)),
- TQT_SLOT( changedRelay(bool)));
- connect( p, TQT_SIGNAL( quickHelpChanged()),
- TQT_SLOT( quickHelpRelay()));
+ connect( p, TQ_SIGNAL( changed(bool)),
+ TQ_SLOT( changedRelay(bool)));
+ connect( p, TQ_SIGNAL( quickHelpChanged()),
+ TQ_SLOT( quickHelpRelay()));
}
void TDECModuleProxyIfaceImpl::save()
diff --git a/tdeutils/tdecmoduleproxyIfaceImpl.h b/tdeutils/tdecmoduleproxyIfaceImpl.h
index a8a80f23b..ca77a966e 100644
--- a/tdeutils/tdecmoduleproxyIfaceImpl.h
+++ b/tdeutils/tdecmoduleproxyIfaceImpl.h
@@ -33,7 +33,7 @@ class TDECModuleProxyIfaceImpl: public TQObject, virtual public TDECModuleProxyI
* Update: This is probably not possible, since we don't want the DCOPObject when
* we're running in root mode. */
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -79,7 +79,7 @@ private:
class TDECModuleProxyRootCommunicatorImpl: public TQObject,
virtual public TDECModuleProxyRootDispatcher
{
- Q_OBJECT
+ TQ_OBJECT
public:
TDECModuleProxyRootCommunicatorImpl( const TQCString& name, TDECModuleProxy* const client );
diff --git a/tdeutils/tdemultitabbar.cpp b/tdeutils/tdemultitabbar.cpp
index b2246e104..6ffb8e00a 100644
--- a/tdeutils/tdemultitabbar.cpp
+++ b/tdeutils/tdemultitabbar.cpp
@@ -74,8 +74,8 @@ KMultiTabBarInternal::KMultiTabBarInternal(TQWidget *parent, KMultiTabBar::KMult
addChild(box);
setFrameStyle(NoFrame);
viewport()->setBackgroundMode(TQt::PaletteBackground);
-/* box->setPaletteBackgroundColor(Qt::red);
- setPaletteBackgroundColor(Qt::green);*/
+/* box->setPaletteBackgroundColor(TQt::red);
+ setPaletteBackgroundColor(TQt::green);*/
}
void KMultiTabBarInternal::setStyle(enum KMultiTabBar::KMultiTabBarStyle style)
@@ -394,7 +394,7 @@ KMultiTabBarButton::KMultiTabBarButton(const TQPixmap& pic,const TQString& text,
setFixedWidth(24);
m_id=id;
TQToolTip::add(this,text);
- connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
+ connect(this,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClicked()));
}
KMultiTabBarButton::KMultiTabBarButton(const TQString& text, TQPopupMenu *popup,
@@ -409,7 +409,7 @@ KMultiTabBarButton::KMultiTabBarButton(const TQString& text, TQPopupMenu *popup,
setFixedWidth(24);
m_id=id;
TQToolTip::add(this,text);
- connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
+ connect(this,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClicked()));
}
KMultiTabBarButton::~KMultiTabBarButton() {
@@ -445,13 +445,13 @@ void KMultiTabBarButton::setStyle(KMultiTabBar::KMultiTabBarStyle style)
void KMultiTabBarButton::hideEvent( TQHideEvent* he) {
TQPushButton::hideEvent(he);
- KMultiTabBar *tb=tqt_dynamic_cast<KMultiTabBar*>(parentWidget());
+ KMultiTabBar *tb=dynamic_cast<KMultiTabBar*>(parentWidget());
if (tb) tb->updateSeparator();
}
void KMultiTabBarButton::showEvent( TQShowEvent* he) {
TQPushButton::showEvent(he);
- KMultiTabBar *tb=tqt_dynamic_cast<KMultiTabBar*>(parentWidget());
+ KMultiTabBar *tb=dynamic_cast<KMultiTabBar*>(parentWidget());
if (tb) tb->updateSeparator();
}
@@ -491,7 +491,7 @@ TQSize KMultiTabBarButton::sizeHint() const
h = TQMAX(h, sz.height());
}
- return (style().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
+ return (style().sizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
expandedTo(TQApplication::globalStrut()));
}
diff --git a/tdeutils/tdemultitabbar.h b/tdeutils/tdemultitabbar.h
index eca4695ff..3d7785842 100644
--- a/tdeutils/tdemultitabbar.h
+++ b/tdeutils/tdemultitabbar.h
@@ -55,7 +55,7 @@ class KMultiTabBarInternal;
*/
class TDEUTILS_EXPORT KMultiTabBar: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* The tab bar's orientation. Also constraints the bar's position.
@@ -204,7 +204,7 @@ private:
*/
class TDEUTILS_EXPORT KMultiTabBarButton: public TQPushButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
/** @internal */
KMultiTabBarButton(const TQPixmap& pic,const TQString&, TQPopupMenu *popup,
@@ -267,7 +267,7 @@ protected slots:
*/
class TDEUTILS_EXPORT KMultiTabBarTab: public KMultiTabBarButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
/** @internal */
KMultiTabBarTab(const TQPixmap& pic,const TQString&,int id,TQWidget *parent,
diff --git a/tdeutils/tdemultitabbar_p.h b/tdeutils/tdemultitabbar_p.h
index 353a33260..61f8e82c7 100644
--- a/tdeutils/tdemultitabbar_p.h
+++ b/tdeutils/tdemultitabbar_p.h
@@ -29,7 +29,7 @@
class KMultiTabBarInternal: public TQScrollView
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMultiTabBarInternal(TQWidget *parent,KMultiTabBar::KMultiTabBarMode bm);
int appendTab(const TQPixmap &,int=-1,const TQString& =TQString::null);
diff --git a/tdeutils/tests/kfindtest.cpp b/tdeutils/tests/kfindtest.cpp
index c913e5ec6..6a724d6a3 100644
--- a/tdeutils/tests/kfindtest.cpp
+++ b/tdeutils/tests/kfindtest.cpp
@@ -59,10 +59,10 @@ void KFindTest::find(const TQString &pattern, long options)
delete m_find;
m_find = new KFind(pattern, options, 0);
- connect(m_find, TQT_SIGNAL(highlight(const TQString &, int, int)),
- TQT_SLOT(slotHighlight(const TQString &, int, int)));
- connect(m_find, TQT_SIGNAL(highlight(int, int, int)),
- TQT_SLOT(slotHighlight(int, int, int)));
+ connect(m_find, TQ_SIGNAL(highlight(const TQString &, int, int)),
+ TQ_SLOT(slotHighlight(const TQString &, int, int)));
+ connect(m_find, TQ_SIGNAL(highlight(int, int, int)),
+ TQ_SLOT(slotHighlight(int, int, int)));
m_line = 0;
KFind::Result result = KFind::NoMatch;
diff --git a/tdeutils/tests/kfindtest.h b/tdeutils/tests/kfindtest.h
index 847d9579c..09526c1b0 100644
--- a/tdeutils/tests/kfindtest.h
+++ b/tdeutils/tests/kfindtest.h
@@ -27,7 +27,7 @@ class KFind;
class KFindTest : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KFindTest(const TQStringList &text) :
diff --git a/tdeutils/tests/kreplacetest.cpp b/tdeutils/tests/kreplacetest.cpp
index 19ead8e77..df21d0c81 100644
--- a/tdeutils/tests/kreplacetest.cpp
+++ b/tdeutils/tests/kreplacetest.cpp
@@ -38,14 +38,14 @@ void KReplaceTest::replace( const TQString &pattern, const TQString &replacement
// Connect highlight signal to code which handles highlighting
// of found text.
- connect(m_replace, TQT_SIGNAL( highlight( const TQString &, int, int ) ),
- this, TQT_SLOT( slotHighlight( const TQString &, int, int ) ) );
+ connect(m_replace, TQ_SIGNAL( highlight( const TQString &, int, int ) ),
+ this, TQ_SLOT( slotHighlight( const TQString &, int, int ) ) );
// Connect findNext signal - called when pressing the button in the dialog
- connect(m_replace, TQT_SIGNAL( findNext() ),
- this, TQT_SLOT( slotReplaceNext() ) );
+ connect(m_replace, TQ_SIGNAL( findNext() ),
+ this, TQ_SLOT( slotReplaceNext() ) );
// Connect replace signal - called when doing a replacement
- connect(m_replace, TQT_SIGNAL( replace(const TQString &, int, int, int) ),
- this, TQT_SLOT( slotReplace(const TQString &, int, int, int) ) );
+ connect(m_replace, TQ_SIGNAL( replace(const TQString &, int, int, int) ),
+ this, TQ_SLOT( slotReplace(const TQString &, int, int, int) ) );
// Go to initial position
if ( (options & KReplaceDialog::FromCursor) == 0 )
diff --git a/tdeutils/tests/kreplacetest.h b/tdeutils/tests/kreplacetest.h
index b8fb8120b..71aa8cebb 100644
--- a/tdeutils/tests/kreplacetest.h
+++ b/tdeutils/tests/kreplacetest.h
@@ -27,7 +27,7 @@ class KReplace;
class KReplaceTest : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KReplaceTest( const TQStringList& text, int button )
: TQObject( 0L ), m_text( text ), m_replace( 0 ), m_button( button ) {}