summaryrefslogtreecommitdiffstats
path: root/kate/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kate/plugins')
-rw-r--r--kate/plugins/autobookmarker/autobookmarker.cpp16
-rw-r--r--kate/plugins/autobookmarker/autobookmarker.h6
-rw-r--r--kate/plugins/insertfile/insertfileplugin.cpp4
-rw-r--r--kate/plugins/insertfile/insertfileplugin.h4
-rw-r--r--kate/plugins/isearch/ISearchPlugin.cpp44
-rw-r--r--kate/plugins/isearch/ISearchPlugin.h4
-rw-r--r--kate/plugins/kdatatool/kate_kdatatool.cpp14
-rw-r--r--kate/plugins/kdatatool/kate_kdatatool.h4
-rw-r--r--kate/plugins/wordcompletion/docwordcompletion.cpp26
-rw-r--r--kate/plugins/wordcompletion/docwordcompletion.h6
10 files changed, 64 insertions, 64 deletions
diff --git a/kate/plugins/autobookmarker/autobookmarker.cpp b/kate/plugins/autobookmarker/autobookmarker.cpp
index 2be5b00fb..06d7c12d2 100644
--- a/kate/plugins/autobookmarker/autobookmarker.cpp
+++ b/kate/plugins/autobookmarker/autobookmarker.cpp
@@ -66,7 +66,7 @@ AutoBookmarker::AutoBookmarker( TQObject *parent,
KTextEditor::ConfigInterfaceExtension()
{
if ( parent )
- connect( parent, TQT_SIGNAL( completed() ), this, TQT_SLOT( slotCompleted() ) );
+ connect( parent, TQ_SIGNAL( completed() ), this, TQ_SLOT( slotCompleted() ) );
}
void AutoBookmarker::addView(KTextEditor::View */*view*/)
@@ -113,7 +113,7 @@ void AutoBookmarker::slotCompleted()
{
// get the document info
KTextEditor::DocumentInfoInterface *di =
- ::tqqt_cast<KTextEditor::DocumentInfoInterface*>(document());
+ ::tqt_cast<KTextEditor::DocumentInfoInterface*>(document());
TQString mt;
if ( di ) // we can still try match the URL otherwise
mt = di->mimeType();
@@ -292,7 +292,7 @@ AutoBookmarkerEntEditor::AutoBookmarkerEntEditor( TQWidget *parent, AutoBookmark
TQWhatsThis::add( lePattern, i18n(
"<p>A regular expression. Matching lines will be bookmarked.</p>" ) );
- connect( lePattern, TQT_SIGNAL(textChanged ( const TQString & ) ),this, TQT_SLOT( slotPatternChanged( const TQString& ) ) );
+ connect( lePattern, TQ_SIGNAL(textChanged ( const TQString & ) ),this, TQ_SLOT( slotPatternChanged( const TQString& ) ) );
cbCS = new TQCheckBox( i18n("Case &sensitive"), w );
lo->addMultiCellWidget( cbCS, 1, 1, 0, 2 );
@@ -334,7 +334,7 @@ AutoBookmarkerEntEditor::AutoBookmarkerEntEditor( TQWidget *parent, AutoBookmark
TQToolButton *btnMTW = new TQToolButton(w);
lo->addWidget( btnMTW, 4, 2 );
btnMTW->setIconSet(TQIconSet(SmallIcon("wizard")));
- connect(btnMTW, TQT_SIGNAL(clicked()), this, TQT_SLOT(showMTDlg()));
+ connect(btnMTW, TQ_SIGNAL(clicked()), this, TQ_SLOT(showMTDlg()));
TQWhatsThis::add( btnMTW, i18n(
"<p>Click this button to display a checkable list of mimetypes available "
"on your system. When used, the file masks entry above will be filled in "
@@ -419,10 +419,10 @@ AutoBookmarkerConfigPage::AutoBookmarkerConfigPage( TQWidget *parent, const char
lo1->addStretch( 1 );
- connect( btnNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNew()) );
- connect( btnDel, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDel()) );
- connect( btnEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEdit()) );
- connect( lvPatterns, TQT_SIGNAL(doubleClicked(TQListViewItem *)), this, TQT_SLOT(slotEdit()) );
+ connect( btnNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNew()) );
+ connect( btnDel, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDel()) );
+ connect( btnEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEdit()) );
+ connect( lvPatterns, TQ_SIGNAL(doubleClicked(TQListViewItem *)), this, TQ_SLOT(slotEdit()) );
m_ents = new ABEntityList();
m_ents->setAutoDelete( true );
diff --git a/kate/plugins/autobookmarker/autobookmarker.h b/kate/plugins/autobookmarker/autobookmarker.h
index 9687d8ceb..1f6d1daeb 100644
--- a/kate/plugins/autobookmarker/autobookmarker.h
+++ b/kate/plugins/autobookmarker/autobookmarker.h
@@ -50,7 +50,7 @@ class AutoBookmarker
: public KTextEditor::Plugin, public KTextEditor::PluginViewInterface,
public KTextEditor::ConfigInterfaceExtension
{
- Q_OBJECT
+ TQ_OBJECT
public:
AutoBookmarker( TQObject *parent = 0,
const char* name = 0,
@@ -96,7 +96,7 @@ class ABGlobal
class AutoBookmarkerConfigPage : public KTextEditor::ConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
AutoBookmarkerConfigPage( TQWidget *parent, const char *name );
virtual ~AutoBookmarkerConfigPage() {};
@@ -118,7 +118,7 @@ class AutoBookmarkerConfigPage : public KTextEditor::ConfigPage
class AutoBookmarkerEntEditor : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
AutoBookmarkerEntEditor( TQWidget *parent, AutoBookmarkEnt *e );
~AutoBookmarkerEntEditor(){};
diff --git a/kate/plugins/insertfile/insertfileplugin.cpp b/kate/plugins/insertfile/insertfileplugin.cpp
index e2e3d354a..ed6cd3c6f 100644
--- a/kate/plugins/insertfile/insertfileplugin.cpp
+++ b/kate/plugins/insertfile/insertfileplugin.cpp
@@ -76,7 +76,7 @@ InsertFilePluginView::InsertFilePluginView( KTextEditor::View *view, const char
view->insertChildClient( this );
setInstance( KGenericFactory<InsertFilePlugin>::instance() );
_job = 0;
- (void) new TDEAction( i18n("Insert File..."), 0, this, TQT_SLOT(slotInsertFile()), actionCollection(), "tools_insert_file" );
+ (void) new TDEAction( i18n("Insert File..."), 0, this, TQ_SLOT(slotInsertFile()), actionCollection(), "tools_insert_file" );
setXMLFile( "tdetexteditor_insertfileui.rc" );
}
@@ -104,7 +104,7 @@ void InsertFilePluginView::slotInsertFile()
KURL destURL;
destURL.setPath( _tmpfile );
_job = TDEIO::file_copy( _file, destURL, 0600, true, false, true );
- connect( _job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotFinished ( TDEIO::Job * ) ) );
+ connect( _job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotFinished ( TDEIO::Job * ) ) );
}
}
diff --git a/kate/plugins/insertfile/insertfileplugin.h b/kate/plugins/insertfile/insertfileplugin.h
index da08a02c7..0f7bfc2c9 100644
--- a/kate/plugins/insertfile/insertfileplugin.h
+++ b/kate/plugins/insertfile/insertfileplugin.h
@@ -32,7 +32,7 @@
class InsertFilePlugin : public KTextEditor::Plugin, public KTextEditor::PluginViewInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
InsertFilePlugin( TQObject *parent = 0,
@@ -50,7 +50,7 @@ class InsertFilePlugin : public KTextEditor::Plugin, public KTextEditor::PluginV
class InsertFilePluginView : public TQObject, public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
InsertFilePluginView( KTextEditor::View *view, const char *name=0 );
~InsertFilePluginView() {};
diff --git a/kate/plugins/isearch/ISearchPlugin.cpp b/kate/plugins/isearch/ISearchPlugin.cpp
index 4ee93cb87..306fcf596 100644
--- a/kate/plugins/isearch/ISearchPlugin.cpp
+++ b/kate/plugins/isearch/ISearchPlugin.cpp
@@ -66,11 +66,11 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view )
m_searchForwardAction = new TDEAction(
i18n("Search Incrementally"), CTRL+ALT+Key_F,
- this, TQT_SLOT(slotSearchForwardAction()),
+ this, TQ_SLOT(slotSearchForwardAction()),
actionCollection(), "edit_isearch" );
m_searchBackwardAction = new TDEAction(
i18n("Search Incrementally Backwards"), CTRL+ALT+SHIFT+Key_F,
- this, TQT_SLOT(slotSearchBackwardAction()),
+ this, TQ_SLOT(slotSearchBackwardAction()),
actionCollection(), "edit_isearch_reverse" );
m_label = new TQLabel( i18n("I-Search:"), 0L, "tde toolbar widget" );
@@ -84,12 +84,12 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view )
m_combo->setDuplicatesEnabled( false );
m_combo->setMaximumWidth( 300 );
m_combo->lineEdit()->installEventFilter( this );
- connect( m_combo, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotTextChanged(const TQString&)) );
- connect( m_combo, TQT_SIGNAL(returnPressed(const TQString&)),
- this, TQT_SLOT(slotReturnPressed(const TQString&)) );
- connect( m_combo, TQT_SIGNAL(aboutToShowContextMenu(TQPopupMenu*)),
- this, TQT_SLOT(slotAddContextMenuItems(TQPopupMenu*)) );
+ connect( m_combo, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotTextChanged(const TQString&)) );
+ connect( m_combo, TQ_SIGNAL(returnPressed(const TQString&)),
+ this, TQ_SLOT(slotReturnPressed(const TQString&)) );
+ connect( m_combo, TQ_SIGNAL(aboutToShowContextMenu(TQPopupMenu*)),
+ this, TQ_SLOT(slotAddContextMenuItems(TQPopupMenu*)) );
m_comboAction = new KWidgetAction(
m_combo,
i18n("Search"), 0, 0, 0,
@@ -106,8 +106,8 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view )
i18n("Case Sensitive"), TDEShortcut(),
actionCollection(), "isearch_case_sensitive" );
action->setShortcutConfigurable( false );
- connect( action, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setCaseSensitive(bool)) );
+ connect( action, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setCaseSensitive(bool)) );
action->setChecked( m_caseSensitive );
optionMenu->insert( action );
@@ -115,8 +115,8 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view )
i18n("From Beginning"), TDEShortcut(),
actionCollection(), "isearch_from_beginning" );
action->setShortcutConfigurable( false );
- connect( action, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setFromBeginning(bool)) );
+ connect( action, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setFromBeginning(bool)) );
action->setChecked( m_fromBeginning );
optionMenu->insert( action );
@@ -124,8 +124,8 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view )
i18n("Regular Expression"), TDEShortcut(),
actionCollection(), "isearch_reg_exp" );
action->setShortcutConfigurable( false );
- connect( action, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setRegExp(bool)) );
+ connect( action, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setRegExp(bool)) );
action->setChecked( m_regExp );
optionMenu->insert( action );
@@ -134,8 +134,8 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view )
// action = new TDEToggleAction(
// i18n("Auto-Wrap Search"), TDEShortcut(),
// actionCollection(), "isearch_auto_wrap" );
-// connect( action, TQT_SIGNAL(toggled(bool)),
-// this, TQT_SLOT(setAutoWrap(bool)) );
+// connect( action, TQ_SIGNAL(toggled(bool)),
+// this, TQ_SLOT(setAutoWrap(bool)) );
// action->setChecked( m_autoWrap );
// optionMenu->insert( action );
@@ -204,7 +204,7 @@ void ISearchPluginView::setAutoWrap( bool autoWrap )
bool ISearchPluginView::eventFilter( TQObject* o, TQEvent* e )
{
- if( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_combo->lineEdit()) )
+ if( o != m_combo->lineEdit() )
return false;
if( e->type() == TQEvent::FocusIn ) {
@@ -225,7 +225,7 @@ bool ISearchPluginView::eventFilter( TQObject* o, TQEvent* e )
if( e->type() == TQEvent::KeyPress ) {
TQKeyEvent *keyEvent = (TQKeyEvent*)e;
- if( keyEvent->key() == Qt::Key_Escape )
+ if( keyEvent->key() == TQt::Key_Escape )
quitToView( TQString::null );
}
@@ -410,13 +410,13 @@ void ISearchPluginView::slotAddContextMenuItems( TQPopupMenu *menu )
if( menu ) {
menu->insertSeparator();
menu->insertItem( i18n("Case Sensitive"), this,
- TQT_SLOT(setCaseSensitive(bool)));
+ TQ_SLOT(setCaseSensitive(bool)));
menu->insertItem( i18n("From Beginning"), this,
- TQT_SLOT(setFromBeginning(bool)));
+ TQ_SLOT(setFromBeginning(bool)));
menu->insertItem( i18n("Regular Expression"), this,
- TQT_SLOT(setRegExp(bool)));
+ TQ_SLOT(setRegExp(bool)));
//menu->insertItem( i18n("Auto-Wrap Search"), this,
- // TQT_SLOT(setAutoWrap(bool)));
+ // TQ_SLOT(setAutoWrap(bool)));
}
}
diff --git a/kate/plugins/isearch/ISearchPlugin.h b/kate/plugins/isearch/ISearchPlugin.h
index b11b2a8b6..e1893c516 100644
--- a/kate/plugins/isearch/ISearchPlugin.h
+++ b/kate/plugins/isearch/ISearchPlugin.h
@@ -34,7 +34,7 @@ class TQLabel;
class ISearchPlugin : public KTextEditor::Plugin, public KTextEditor::PluginViewInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
ISearchPlugin( TQObject *parent = 0, const char* name = 0, const TQStringList &args = TQStringList() );
@@ -49,7 +49,7 @@ private:
class ISearchPluginView : public TQObject, public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
ISearchPluginView( KTextEditor::View *view );
diff --git a/kate/plugins/kdatatool/kate_kdatatool.cpp b/kate/plugins/kdatatool/kate_kdatatool.cpp
index e14cd9249..00edb8ced 100644
--- a/kate/plugins/kdatatool/kate_kdatatool.cpp
+++ b/kate/plugins/kdatatool/kate_kdatatool.cpp
@@ -76,7 +76,7 @@ KDataToolPluginView::KDataToolPluginView( KTextEditor::View *view )
setInstance( KGenericFactory<KDataToolPlugin>::instance() );
m_menu = new TDEActionMenu(i18n("Data Tools"), actionCollection(), "popup_dataTool");
- connect(m_menu->popupMenu(), TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(aboutToShow()));
+ connect(m_menu->popupMenu(), TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(aboutToShow()));
setXMLFile("tdetexteditor_kdatatoolui.rc");
m_view = view;
@@ -151,7 +151,7 @@ void KDataToolPluginView::aboutToShow()
m_singleWord_line = line;
} else {
m_notAvailable = new TDEAction(i18n("(not available)"), TQString::null, 0, this,
- TQT_SLOT(slotNotAvailable()), actionCollection(),"dt_n_av");
+ TQ_SLOT(slotNotAvailable()), actionCollection(),"dt_n_av");
m_menu->insert(m_notAvailable);
return;
}
@@ -160,12 +160,12 @@ void KDataToolPluginView::aboutToShow()
TDEInstance *inst=instance();
TQValueList<KDataToolInfo> tools;
- tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "text/plain", inst );
+ tools += KDataToolInfo::query( "TQString", "text/plain", inst );
if( m_singleWord )
- tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "application/x-singleword", inst );
+ tools += KDataToolInfo::query( "TQString", "application/x-singleword", inst );
m_actionList = KDataToolAction::dataToolActionList( tools, this,
- TQT_SLOT( slotToolActivated( const KDataToolInfo &, const TQString & ) ) );
+ TQ_SLOT( slotToolActivated( const KDataToolInfo &, const TQString & ) ) );
for ( ac = m_actionList.first(); ac; ac = m_actionList.next() ) {
m_menu->insert(ac);
@@ -173,7 +173,7 @@ void KDataToolPluginView::aboutToShow()
if( m_actionList.isEmpty() ) {
m_notAvailable = new TDEAction(i18n("(not available)"), TQString::null, 0, this,
- TQT_SLOT(slotNotAvailable()), actionCollection(),"dt_n_av");
+ TQ_SLOT(slotNotAvailable()), actionCollection(),"dt_n_av");
m_menu->insert(m_notAvailable);
}
}
@@ -203,7 +203,7 @@ void KDataToolPluginView::slotToolActivated( const KDataToolInfo &info, const TQ
text = m_wordUnderCursor;
TQString mimetype = "text/plain";
- TQString datatype = TQSTRING_OBJECT_NAME_STRING;
+ TQString datatype = "TQString";
// If unsupported (and if we have a single word indeed), try application/x-singleword
if ( !info.mimeTypes().contains( mimetype ) && m_singleWord )
diff --git a/kate/plugins/kdatatool/kate_kdatatool.h b/kate/plugins/kdatatool/kate_kdatatool.h
index a217c6f27..b3ef86767 100644
--- a/kate/plugins/kdatatool/kate_kdatatool.h
+++ b/kate/plugins/kdatatool/kate_kdatatool.h
@@ -36,7 +36,7 @@ class View;
class KDataToolPlugin : public KTextEditor::Plugin, public KTextEditor::PluginViewInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDataToolPlugin( TQObject *parent = 0, const char* name = 0, const TQStringList &args = TQStringList() );
@@ -51,7 +51,7 @@ public:
class KDataToolPluginView : public TQObject, public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDataToolPluginView( KTextEditor::View *view );
diff --git a/kate/plugins/wordcompletion/docwordcompletion.cpp b/kate/plugins/wordcompletion/docwordcompletion.cpp
index 793f9820c..83933bfce 100644
--- a/kate/plugins/wordcompletion/docwordcompletion.cpp
+++ b/kate/plugins/wordcompletion/docwordcompletion.cpp
@@ -146,15 +146,15 @@ DocWordCompletionPluginView::DocWordCompletionPluginView( uint treshold, bool au
setInstance( KGenericFactory<DocWordCompletionPlugin>::instance() );
(void) new TDEAction( i18n("Reuse Word Above"), CTRL+Key_8, this,
- TQT_SLOT(completeBackwards()), actionCollection(), "doccomplete_bw" );
+ TQ_SLOT(completeBackwards()), actionCollection(), "doccomplete_bw" );
(void) new TDEAction( i18n("Reuse Word Below"), CTRL+Key_9, this,
- TQT_SLOT(completeForwards()), actionCollection(), "doccomplete_fw" );
+ TQ_SLOT(completeForwards()), actionCollection(), "doccomplete_fw" );
(void) new TDEAction( i18n("Pop Up Completion List"), 0, this,
- TQT_SLOT(popupCompletionList()), actionCollection(), "doccomplete_pu" );
+ TQ_SLOT(popupCompletionList()), actionCollection(), "doccomplete_pu" );
(void) new TDEAction( i18n("Shell Completion"), 0, this,
- TQT_SLOT(shellComplete()), actionCollection(), "doccomplete_sh" );
+ TQ_SLOT(shellComplete()), actionCollection(), "doccomplete_sh" );
d->autopopup = new TDEToggleAction( i18n("Automatic Completion Popup"), 0, this,
- TQT_SLOT(toggleAutoPopup()), actionCollection(), "enable_autopopup" );
+ TQ_SLOT(toggleAutoPopup()), actionCollection(), "enable_autopopup" );
d->autopopup->setChecked( autopopup );
toggleAutoPopup();
@@ -168,8 +168,8 @@ DocWordCompletionPluginView::DocWordCompletionPluginView( uint treshold, bool au
if ( ! e.isEmpty() )
d->autopopup->setEnabled( e == "true" );
- connect( view->document(), TQT_SIGNAL(variableChanged(const TQString &, const TQString &)),
- this, TQT_SLOT(slotVariableChanged(const TQString &, const TQString &)) );
+ connect( view->document(), TQ_SIGNAL(variableChanged(const TQString &, const TQString &)),
+ this, TQ_SLOT(slotVariableChanged(const TQString &, const TQString &)) );
}
}
@@ -203,15 +203,15 @@ void DocWordCompletionPluginView::popupCompletionList( TQString w )
void DocWordCompletionPluginView::toggleAutoPopup()
{
if ( d->autopopup->isChecked() ) {
- if ( ! connect( m_view->document(), TQT_SIGNAL(charactersInteractivelyInserted(int ,int ,const TQString&)),
- this, TQT_SLOT(autoPopupCompletionList()) ))
+ if ( ! connect( m_view->document(), TQ_SIGNAL(charactersInteractivelyInserted(int ,int ,const TQString&)),
+ this, TQ_SLOT(autoPopupCompletionList()) ))
{
- connect( m_view->document(), TQT_SIGNAL(textChanged()), this, TQT_SLOT(autoPopupCompletionList()) );
+ connect( m_view->document(), TQ_SIGNAL(textChanged()), this, TQ_SLOT(autoPopupCompletionList()) );
}
} else {
- disconnect( m_view->document(), TQT_SIGNAL(textChanged()), this, TQT_SLOT(autoPopupCompletionList()) );
- disconnect( m_view->document(), TQT_SIGNAL(charactersInteractivelyInserted(int ,int ,const TQString&)),
- this, TQT_SLOT(autoPopupCompletionList()) );
+ disconnect( m_view->document(), TQ_SIGNAL(textChanged()), this, TQ_SLOT(autoPopupCompletionList()) );
+ disconnect( m_view->document(), TQ_SIGNAL(charactersInteractivelyInserted(int ,int ,const TQString&)),
+ this, TQ_SLOT(autoPopupCompletionList()) );
}
}
diff --git a/kate/plugins/wordcompletion/docwordcompletion.h b/kate/plugins/wordcompletion/docwordcompletion.h
index f22f99d4e..e2ff3cfb2 100644
--- a/kate/plugins/wordcompletion/docwordcompletion.h
+++ b/kate/plugins/wordcompletion/docwordcompletion.h
@@ -44,7 +44,7 @@ class DocWordCompletionPlugin
, public KTextEditor::PluginViewInterface
, public KTextEditor::ConfigInterfaceExtension
{
- Q_OBJECT
+ TQ_OBJECT
public:
DocWordCompletionPlugin( TQObject *parent = 0,
@@ -81,7 +81,7 @@ class DocWordCompletionPlugin
class DocWordCompletionPluginView
: public TQObject, public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
DocWordCompletionPluginView( uint treshold=3, bool autopopup=true, KTextEditor::View *view=0,
@@ -113,7 +113,7 @@ class DocWordCompletionPluginView
class DocWordCompletionConfigPage : public KTextEditor::ConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
DocWordCompletionConfigPage( DocWordCompletionPlugin *completion, TQWidget *parent, const char *name );
virtual ~DocWordCompletionConfigPage() {};