summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-11 10:35:25 +0900
committerMichele Calgaro <[email protected]>2024-01-13 20:23:16 +0900
commite234565531cd8c11949cc6aecf16179e75312458 (patch)
tree90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /noatun-plugins/oblique
parentbe3456c5d953fb877340a51b2ef699be6b3c7c02 (diff)
downloadtdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz
tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'noatun-plugins/oblique')
-rw-r--r--noatun-plugins/oblique/cmodule.cpp42
-rw-r--r--noatun-plugins/oblique/menu.cpp28
-rw-r--r--noatun-plugins/oblique/oblique.cpp24
-rw-r--r--noatun-plugins/oblique/tree.cpp26
-rw-r--r--noatun-plugins/oblique/view.cpp22
5 files changed, 71 insertions, 71 deletions
diff --git a/noatun-plugins/oblique/cmodule.cpp b/noatun-plugins/oblique/cmodule.cpp
index f7f8448..3a9d05a 100644
--- a/noatun-plugins/oblique/cmodule.cpp
+++ b/noatun-plugins/oblique/cmodule.cpp
@@ -47,24 +47,24 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
box->setSpacing(7);
mSchemaList = new TQComboBox(box);
connect(
- mSchemaList, TQT_SIGNAL(activated(const TQString&)),
- TQT_SLOT(selectSchema(const TQString&))
+ mSchemaList, TQ_SIGNAL(activated(const TQString&)),
+ TQ_SLOT(selectSchema(const TQString&))
);
mAdd = new TQPushButton(BarIconSet("document-new"), 0, box);
mAdd->setFixedWidth(mAdd->height());
TQToolTip::add(mAdd, i18n("Create new schema"));
- connect(mAdd, TQT_SIGNAL(clicked()), TQT_SLOT(newSchema()));
+ connect(mAdd, TQ_SIGNAL(clicked()), TQ_SLOT(newSchema()));
mRemove = new TQPushButton(BarIconSet("edit-delete"), 0, box);
mRemove->setFixedWidth(mRemove->height());
TQToolTip::add(mRemove, i18n("Remove this schema"));
- connect(mRemove, TQT_SIGNAL(clicked()), TQT_SLOT(removeSchema()));
+ connect(mRemove, TQ_SIGNAL(clicked()), TQ_SLOT(removeSchema()));
mCopy = new TQPushButton(BarIconSet("edit-copy"), 0, box);
mCopy->setFixedWidth(mCopy->height());
TQToolTip::add(mCopy, i18n("Copy this schema"));
- connect(mCopy, TQT_SIGNAL(clicked()), TQT_SLOT(copySchema()));
+ connect(mCopy, TQ_SIGNAL(clicked()), TQ_SLOT(copySchema()));
}
@@ -74,12 +74,12 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
mSchemaTree = new TDEListView(middle);
connect(
- mSchemaTree, TQT_SIGNAL(currentChanged(TQListViewItem*)),
- TQT_SLOT(setCurrent(TQListViewItem*))
+ mSchemaTree, TQ_SIGNAL(currentChanged(TQListViewItem*)),
+ TQ_SLOT(setCurrent(TQListViewItem*))
);
connect(
- mSchemaTree, TQT_SIGNAL(moved(TQListViewItem *, TQListViewItem *, TQListViewItem *)),
- TQT_SLOT(move(TQListViewItem *, TQListViewItem *, TQListViewItem *))
+ mSchemaTree, TQ_SIGNAL(moved(TQListViewItem *, TQListViewItem *, TQListViewItem *)),
+ TQ_SLOT(move(TQListViewItem *, TQListViewItem *, TQListViewItem *))
);
mSchemaTree->setAcceptDrops(true);
@@ -96,17 +96,17 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
mAddSibling = new TQPushButton(BarIconSet("1rightarrow", TDEIcon::SizeSmall), "",buttons);
mAddSibling->setFixedWidth(mAddSibling->height());
- connect(mAddSibling, TQT_SIGNAL(clicked()), TQT_SLOT(addSibling()));
+ connect(mAddSibling, TQ_SIGNAL(clicked()), TQ_SLOT(addSibling()));
TQToolTip::add(mAddSibling, i18n("Create a new item after the selected one"));
mAddChild = new TQPushButton(BarIconSet("2rightarrow", TDEIcon::SizeSmall), "", buttons);
mAddChild->setFixedWidth(mAddChild->height());
- connect(mAddChild, TQT_SIGNAL(clicked()), TQT_SLOT(addChild()));
+ connect(mAddChild, TQ_SIGNAL(clicked()), TQ_SLOT(addChild()));
TQToolTip::add(mAddChild, i18n("Create a new child item under the selected one"));
mRemoveSelf = new TQPushButton(BarIconSet("document-new", TDEIcon::SizeSmall), "", buttons);
mRemoveSelf->setFixedWidth(mRemoveSelf->height());
- connect(mRemoveSelf, TQT_SIGNAL(clicked()), TQT_SLOT(removeSelf()));
+ connect(mRemoveSelf, TQ_SIGNAL(clicked()), TQ_SLOT(removeSelf()));
TQToolTip::add(mRemoveSelf, i18n("Remove the selected item"));
new TQWidget(buttons);
@@ -128,25 +128,25 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
label->setBuddy(mPropertyEdit);
grid->addWidget(label, 0, 0);
grid->addMultiCellWidget(mPropertyEdit, 0, 0, 1, 2);
- connect(mPropertyEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(updateCurrent()));
+ connect(mPropertyEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(updateCurrent()));
label = new TQLabel(i18n("&Value:"), topSide);
mValueEdit = new KLineEdit(topSide);
label->setBuddy(mPropertyEdit);
grid->addWidget(label, 1, 0);
grid->addMultiCellWidget(mValueEdit, 1, 1, 1, 1);
- connect(mValueEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(updateCurrent()));
+ connect(mValueEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(updateCurrent()));
TQPushButton *editRe = new TQPushButton(i18n("&Edit..."), topSide);
grid->addWidget(editRe, 1, 2);
- connect(editRe, TQT_SIGNAL(clicked()), TQT_SLOT(editValueRegexp()));
+ connect(editRe, TQ_SIGNAL(clicked()), TQ_SLOT(editValueRegexp()));
label = new TQLabel(i18n("Pre&sentation:"), topSide);
mPresentationEdit = new KLineEdit(topSide);
label->setBuddy(mPropertyEdit);
grid->addWidget(label, 2, 0);
grid->addMultiCellWidget(mPresentationEdit, 2, 2, 1, 2);
- connect(mPresentationEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(updateCurrent()));
+ connect(mPresentationEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(updateCurrent()));
}
{
@@ -156,15 +156,15 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
mOptionPlayable = new TQCheckBox(i18n("Play&able"), groupbox);
TQWhatsThis::add(mOptionPlayable, i18n("This branch represents an individual file. If two items' presentation match, two items are created."));
- connect(mOptionPlayable, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCurrent()));
+ connect(mOptionPlayable, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateCurrent()));
mOptionChildrenVisible = new TQCheckBox(i18n("&Children visible"), groupbox);
TQWhatsThis::add(mOptionChildrenVisible, i18n("Don't create this node, this nodes children become direct children of this node's parent"));
- connect(mOptionChildrenVisible, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCurrent()));
+ connect(mOptionChildrenVisible, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateCurrent()));
mOptionAutoOpen = new TQCheckBox(i18n("Auto &open"), groupbox);
TQWhatsThis::add(mOptionAutoOpen, i18n("This branch is marked as open immediately."));
- connect(mOptionAutoOpen, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCurrent()));
+ connect(mOptionAutoOpen, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateCurrent()));
}
}
@@ -522,12 +522,12 @@ SliceConfig::SliceConfig(TQWidget *parent, Oblique *oblique)
mAdd = new TQPushButton(BarIconSet("1rightarrow", TDEIcon::SizeSmall), "",buttons);
mAdd->setFixedWidth(mAdd->height());
- connect(mAdd, TQT_SIGNAL(clicked()), TQT_SLOT(addSibling()));
+ connect(mAdd, TQ_SIGNAL(clicked()), TQ_SLOT(addSibling()));
TQToolTip::add(mAdd, i18n("Create a new item"));
mRemove = new TQPushButton(BarIconSet("document-new", TDEIcon::SizeSmall), "", buttons);
mRemove->setFixedWidth(mRemove->height());
- connect(mRemove, TQT_SIGNAL(clicked()), TQT_SLOT(removeSelf()));
+ connect(mRemove, TQ_SIGNAL(clicked()), TQ_SLOT(removeSelf()));
TQToolTip::add(mRemove, i18n("Remove the selected item"));
new TQWidget(buttons);
diff --git a/noatun-plugins/oblique/menu.cpp b/noatun-plugins/oblique/menu.cpp
index cbf67c3..8dfd965 100644
--- a/noatun-plugins/oblique/menu.cpp
+++ b/noatun-plugins/oblique/menu.cpp
@@ -14,13 +14,13 @@ FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, File file)
mFiles.append(file);
insertItem(
BarIconSet("delete"), i18n("&Remove From Playlist"),
- this, TQT_SLOT(removeFromList())
+ this, TQ_SLOT(removeFromList())
);
- insertItem(i18n("&Properties"), this, TQT_SLOT(properties()));
+ insertItem(i18n("&Properties"), this, TQ_SLOT(properties()));
(new SliceListAction(
i18n("&Slices"), oblique,
- this, TQT_SLOT(toggleInSlice(Slice *)),
+ this, TQ_SLOT(toggleInSlice(Slice *)),
mFiles, this
))->plug(this);
}
@@ -46,13 +46,13 @@ FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, TreeItem *items)
insertItem(
BarIconSet("delete"), i18n("&Remove From Playlist"),
- this, TQT_SLOT(removeFromList())
+ this, TQ_SLOT(removeFromList())
);
- insertItem(i18n("&Properties"), this, TQT_SLOT(properties()));
+ insertItem(i18n("&Properties"), this, TQ_SLOT(properties()));
(new SliceListAction(
i18n("&Slices"), oblique,
- this, TQT_SLOT(toggleInSlice(Slice *)),
+ this, TQ_SLOT(toggleInSlice(Slice *)),
mFiles,this
))->plug(this);
}
@@ -99,9 +99,9 @@ SliceListAction::SliceListAction(
mOblique = oblique;
slicesModified();
if (reciever)
- connect(this, TQT_SIGNAL(activated(Slice*)), reciever, slot);
- connect(popupMenu(), TQT_SIGNAL(activated(int)), TQT_SLOT(hit(int)));
- connect(oblique->base(), TQT_SIGNAL(slicesModified()), TQT_SLOT(slicesModified()));
+ connect(this, TQ_SIGNAL(activated(Slice*)), reciever, slot);
+ connect(popupMenu(), TQ_SIGNAL(activated(int)), TQ_SLOT(hit(int)));
+ connect(oblique->base(), TQ_SIGNAL(slicesModified()), TQ_SLOT(slicesModified()));
}
void SliceListAction::slicesModified()
@@ -158,9 +158,9 @@ SchemaListAction::SchemaListAction(
{
mTree = 0;
if (reciever)
- connect(this, TQT_SIGNAL(activated(const TQString&)), reciever, slot);
- connect(popupMenu(), TQT_SIGNAL(aboutToShow()), TQT_SLOT(prepare()));
- connect(popupMenu(), TQT_SIGNAL(activated(int)), TQT_SLOT(hit(int)));
+ connect(this, TQ_SIGNAL(activated(const TQString&)), reciever, slot);
+ connect(popupMenu(), TQ_SIGNAL(aboutToShow()), TQ_SLOT(prepare()));
+ connect(popupMenu(), TQ_SIGNAL(activated(int)), TQ_SLOT(hit(int)));
}
void SchemaListAction::prepare()
@@ -200,8 +200,8 @@ void SchemaListAction::hit(int index)
ObliquePropertiesDialog::ObliquePropertiesDialog(const TQValueList<File> &files, TQWidget *parent)
: KPropertiesDialog(makeItems(files), parent), mFiles(files)
{
- connect(this, TQT_SIGNAL(propertiesClosed()), TQT_SLOT(deleteLater()));
- connect(this, TQT_SIGNAL(applied()), TQT_SLOT(modified()));
+ connect(this, TQ_SIGNAL(propertiesClosed()), TQ_SLOT(deleteLater()));
+ connect(this, TQ_SIGNAL(applied()), TQ_SLOT(modified()));
show();
}
diff --git a/noatun-plugins/oblique/oblique.cpp b/noatun-plugins/oblique/oblique.cpp
index a74ce3b..8365468 100644
--- a/noatun-plugins/oblique/oblique.cpp
+++ b/noatun-plugins/oblique/oblique.cpp
@@ -37,15 +37,15 @@ Oblique::Oblique()
mBase = new Base(::locate("data", "noatun/")+"/oblique-list");
mView = new View(this);
- connect(napp->player(), TQT_SIGNAL(loopTypeChange(int)), TQT_SLOT(loopTypeChange(int)));
+ connect(napp->player(), TQ_SIGNAL(loopTypeChange(int)), TQ_SLOT(loopTypeChange(int)));
mSelector = new SequentialSelector(mView->tree());
new Configure(this);
// psst, window's gone, pass it on!
- connect(mView, TQT_SIGNAL(listHidden()), TQT_SIGNAL(listHidden()));
- connect(mView, TQT_SIGNAL(listShown()), TQT_SIGNAL(listShown()));
+ connect(mView, TQ_SIGNAL(listHidden()), TQ_SIGNAL(listHidden()));
+ connect(mView, TQ_SIGNAL(listShown()), TQ_SIGNAL(listShown()));
loopTypeChange(napp->player()->loopStyle());
}
@@ -187,7 +187,7 @@ void Oblique::beginDirectoryAdd(const KURL &url)
else
{
mAdder = new DirectoryAdder(url, this);
- connect(mAdder, TQT_SIGNAL(done()), TQT_SLOT(adderDone()));
+ connect(mAdder, TQ_SIGNAL(done()), TQ_SLOT(adderDone()));
}
}
@@ -201,7 +201,7 @@ Loader::Loader(Tree *tree)
mDeferredLoaderAt=1;
- TQTimer::singleShot(0, this, TQT_SLOT(loadItemsDeferred()));
+ TQTimer::singleShot(0, this, TQ_SLOT(loadItemsDeferred()));
}
void Loader::loadItemsDeferred()
@@ -230,7 +230,7 @@ void Loader::loadItemsDeferred()
mDeferredLoaderAt++;
}
- TQTimer::singleShot(0, this, TQT_SLOT(loadItemsDeferred()));
+ TQTimer::singleShot(0, this, TQ_SLOT(loadItemsDeferred()));
}
@@ -267,16 +267,16 @@ void DirectoryAdder::addNextPending()
currentJobURL= *pendingIt;
listJob = TDEIO::listDir(currentJobURL, false, false);
connect(
- listJob, TQT_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)),
- TQT_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&))
+ listJob, TQ_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)),
+ TQ_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&))
);
connect(
- listJob, TQT_SIGNAL(result(TDEIO::Job *)),
- TQT_SLOT(slotResult(TDEIO::Job *))
+ listJob, TQ_SIGNAL(result(TDEIO::Job *)),
+ TQ_SLOT(slotResult(TDEIO::Job *))
);
connect(
- listJob, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
- TQT_SLOT(slotRedirection(TDEIO::Job *, const KURL &))
+ listJob, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
+ TQ_SLOT(slotRedirection(TDEIO::Job *, const KURL &))
);
pendingAddDirectories.remove(pendingIt);
lastAddedSubDirectory = pendingAddDirectories.begin();
diff --git a/noatun-plugins/oblique/tree.cpp b/noatun-plugins/oblique/tree.cpp
index f86f624..af8feec 100644
--- a/noatun-plugins/oblique/tree.cpp
+++ b/noatun-plugins/oblique/tree.cpp
@@ -453,28 +453,28 @@ Tree::Tree(Oblique *oblique, TQWidget *parent)
connect(
- this, TQT_SIGNAL(moved(TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&)),
- TQT_SLOT(dropped(TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&))
+ this, TQ_SIGNAL(moved(TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&)),
+ TQ_SLOT(dropped(TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&))
);
connect(
- this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- TQT_SLOT(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&))
+ this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ TQ_SLOT(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&))
);
connect(
- this, TQT_SIGNAL(executed(TQListViewItem*)),
- TQT_SLOT(play(TQListViewItem*))
+ this, TQ_SIGNAL(executed(TQListViewItem*)),
+ TQ_SLOT(play(TQListViewItem*))
);
Base *base = oblique->base();
- connect(base, TQT_SIGNAL(added(File)), TQT_SLOT(insert(File)));
- connect(base, TQT_SIGNAL(removed(File)), TQT_SLOT(remove(File)));
- connect(base, TQT_SIGNAL(modified(File)), TQT_SLOT(update(File)));
+ connect(base, TQ_SIGNAL(added(File)), TQ_SLOT(insert(File)));
+ connect(base, TQ_SIGNAL(removed(File)), TQ_SLOT(remove(File)));
+ connect(base, TQ_SIGNAL(modified(File)), TQ_SLOT(update(File)));
- connect(base, TQT_SIGNAL(addedTo(Slice*, File)), TQT_SLOT(checkInsert(Slice*, File)));
- connect(base, TQT_SIGNAL(removedFrom(Slice*, File)), TQT_SLOT(checkRemove(Slice*, File)));
+ connect(base, TQ_SIGNAL(addedTo(Slice*, File)), TQ_SLOT(checkInsert(Slice*, File)));
+ connect(base, TQ_SIGNAL(removedFrom(Slice*, File)), TQ_SLOT(checkRemove(Slice*, File)));
- connect(this, TQT_SIGNAL(selected(TreeItem*)), oblique, TQT_SLOT(selected(TreeItem*)));
+ connect(this, TQ_SIGNAL(selected(TreeItem*)), oblique, TQ_SLOT(selected(TreeItem*)));
mSlice = oblique->base()->defaultSlice();
@@ -660,7 +660,7 @@ void Tree::reload()
delete mLoader;
clear();
mLoader = new Loader(this);
- connect(mLoader, TQT_SIGNAL(finished()), TQT_SLOT(destroyLoader()));
+ connect(mLoader, TQ_SIGNAL(finished()), TQ_SLOT(destroyLoader()));
}
void Tree::setSlice(Slice *slice)
diff --git a/noatun-plugins/oblique/view.cpp b/noatun-plugins/oblique/view.cpp
index 32210cd..53be59e 100644
--- a/noatun-plugins/oblique/view.cpp
+++ b/noatun-plugins/oblique/view.cpp
@@ -37,37 +37,37 @@ View::View(Oblique *oblique)
mTabs = new TabWidget(this);
mTabs->tabBar()->hide();
- connect(mTabs, TQT_SIGNAL(currentChanged(TQWidget*)), TQT_SLOT(currentTabChanged(TQWidget*)));
+ connect(mTabs, TQ_SIGNAL(currentChanged(TQWidget*)), TQ_SLOT(currentTabChanged(TQWidget*)));
setCentralWidget(mTabs);
TDEAction *ac;
- ac = new TDEAction(i18n("Add &Files..."), "queue", 0, this, TQT_SLOT(addFiles()), actionCollection(), "add_files");
+ ac = new TDEAction(i18n("Add &Files..."), "queue", 0, this, TQ_SLOT(addFiles()), actionCollection(), "add_files");
ac->setWhatsThis(i18n("Add a reference to a media file on disk to this collection."));
- ac = new TDEAction(i18n("Add Fol&ders..."), "folder", 0, this, TQT_SLOT(addDirectory()), actionCollection(), "add_dir");
+ ac = new TDEAction(i18n("Add Fol&ders..."), "folder", 0, this, TQ_SLOT(addDirectory()), actionCollection(), "add_dir");
-// ac = new TDEAction(i18n("&Reload"), "reload", 0, oblique, TQT_SLOT(reload()), actionCollection(), "reload");
+// ac = new TDEAction(i18n("&Reload"), "reload", 0, oblique, TQ_SLOT(reload()), actionCollection(), "reload");
// ac->setWhatsThis(i18n("Reread the collection and meta-information from its files."));
ac = new SliceListAction(
i18n("&Slices"), oblique,
- this, TQT_SLOT(use(Slice*)), TQValueList<File>(), actionCollection(), "slices"
+ this, TQ_SLOT(use(Slice*)), TQValueList<File>(), actionCollection(), "slices"
);
ac->setWhatsThis(i18n("Select a sub-collection to display"));
mSchemaListAction = new SchemaListAction(
- i18n("&Schemas"), this, TQT_SLOT(setSchema(const TQString&)), actionCollection(), "schemas"
+ i18n("&Schemas"), this, TQ_SLOT(setSchema(const TQString&)), actionCollection(), "schemas"
);
mSchemaListAction->setWhatsThis(i18n("Select a schema to use to collate the tree."));
ac = new TDEAction(
- i18n("&New Tab"), "tab_new", "CTRL+SHIFT+N;CTRL+T", this, TQT_SLOT(addTab()),
+ i18n("&New Tab"), "tab_new", "CTRL+SHIFT+N;CTRL+T", this, TQ_SLOT(addTab()),
actionCollection(), "newtab"
);
mRemoveTabAction = new TDEAction(
- i18n("&Close Current Tab"), "tab_remove", CTRL+Key_W, this, TQT_SLOT(removeTab()),
+ i18n("&Close Current Tab"), "tab_remove", CTRL+Key_W, this, TQ_SLOT(removeTab()),
actionCollection(), "removecurrenttab"
);
@@ -84,10 +84,10 @@ View::View(Oblique *oblique)
LineEditAction *jumpAction = new LineEditAction(i18n("Jump Bar"), 0, 0, actionCollection(), "jump_text");
jumpAction->setWhatsThis(i18n("Only display items which contain this string"));
l->setBuddy(jumpAction->lineEdit());
- connect(jumpAction->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(jumpTextChanged(const TQString&)));
+ connect(jumpAction->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(jumpTextChanged(const TQString&)));
}
- KStdAction::configureToolbars(this, TQT_SLOT(configureToolBars()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(configureToolBars()), actionCollection());
applyMainWindowSettings(TDEGlobal::config(), "Oblique View");
createGUI("obliqueui.rc");
@@ -151,7 +151,7 @@ void View::configureToolBars()
{
saveMainWindowSettings(TDEGlobal::config(), "Oblique View");
KEditToolbar dlg(actionCollection(), "obliqueui.rc");
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()), TQT_SLOT(newToolBarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()), TQ_SLOT(newToolBarConfig()));
dlg.exec();
}