summaryrefslogtreecommitdiffstats
path: root/src/filterdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:15:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:15:24 -0600
commit8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch)
tree55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/filterdialog.cpp
parent2781e27b871150395a5a82e221684108641002b2 (diff)
downloadtellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz
tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/filterdialog.cpp')
-rw-r--r--src/filterdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/filterdialog.cpp b/src/filterdialog.cpp
index 0754a44..e1e2ea9 100644
--- a/src/filterdialog.cpp
+++ b/src/filterdialog.cpp
@@ -86,7 +86,7 @@ void FilterRuleWidget::initWidget() {
m_ruleValue = new KLineEdit(this);
connect(m_ruleValue, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalModified()));
- if(!KTrader::self()->query(TQString::tqfromLatin1("KRegExpEditor/KRegExpEditor")).isEmpty()) {
+ if(!KTrader::self()->query(TQString::fromLatin1("KRegExpEditor/KRegExpEditor")).isEmpty()) {
m_editRegExp = new KPushButton(i18n("Edit..."), this);
connect(m_editRegExp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditRegExp()));
connect(m_ruleFunc, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotRuleFunctionChanged(int)));
@@ -109,11 +109,11 @@ void FilterRuleWidget::initWidget() {
void FilterRuleWidget::slotEditRegExp() {
if(m_editRegExpDialog == 0) {
- m_editRegExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>(TQString::tqfromLatin1("KRegExpEditor/KRegExpEditor"),
+ m_editRegExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>(TQString::fromLatin1("KRegExpEditor/KRegExpEditor"),
TQString(), TQT_TQOBJECT(this));
}
- KRegExpEditorInterface* iface = static_cast<KRegExpEditorInterface *>(m_editRegExpDialog->qt_cast(TQString::tqfromLatin1("KRegExpEditorInterface")));
+ KRegExpEditorInterface* iface = static_cast<KRegExpEditorInterface *>(m_editRegExpDialog->qt_cast(TQString::fromLatin1("KRegExpEditorInterface")));
if(iface) {
iface->setRegExp(m_ruleValue->text());
if(m_editRegExpDialog->exec() == TQDialog::Accepted) {
@@ -316,7 +316,7 @@ void FilterDialog::init() {
// only when creating a new filter can it be saved
if(m_mode == CreateFilter) {
- m_saveFilter = new KPushButton(SmallIconSet(TQString::tqfromLatin1("filter")), i18n("&Save Filter"), page);
+ m_saveFilter = new KPushButton(SmallIconSet(TQString::fromLatin1("filter")), i18n("&Save Filter"), page);
blay->addWidget(m_saveFilter);
m_saveFilter->setEnabled(false);
connect(m_saveFilter, TQT_SIGNAL(clicked()), TQT_SLOT(slotSaveFilter()));
@@ -326,7 +326,7 @@ void FilterDialog::init() {
actionButton(Help)->setDefault(false); // Help automatically becomes default when OK is disabled
actionButton(Cancel)->setDefault(true); // Help automatically becomes default when OK is disabled
setMinimumWidth(TQMAX(minimumWidth(), FILTER_MIN_WIDTH));
- setHelp(TQString::tqfromLatin1("filter-dialog"));
+ setHelp(TQString::fromLatin1("filter-dialog"));
}
Tellico::FilterPtr FilterDialog::currentFilter() {
@@ -391,7 +391,7 @@ void FilterDialog::slotClear() {
void FilterDialog::slotShrink() {
updateGeometry();
TQApplication::sendPostedEvents();
- resize(width(), tqsizeHint().height());
+ resize(width(), sizeHint().height());
}
void FilterDialog::slotFilterChanged() {