summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views')
-rw-r--r--kmymoney2/views/kaccountsview.cpp8
-rw-r--r--kmymoney2/views/kaccountsview.h4
-rw-r--r--kmymoney2/views/kaccountsviewdecl.ui4
-rw-r--r--kmymoney2/views/kbudgetview.h4
-rw-r--r--kmymoney2/views/kbudgetviewdecl.ui10
-rw-r--r--kmymoney2/views/kcategoriesview.cpp8
-rw-r--r--kmymoney2/views/kcategoriesview.h4
-rw-r--r--kmymoney2/views/kcategoriesviewdecl.ui4
-rw-r--r--kmymoney2/views/kforecastviewdecl.ui8
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp12
-rw-r--r--kmymoney2/views/kinstitutionsview.h4
-rw-r--r--kmymoney2/views/kinstitutionsviewdecl.ui2
-rw-r--r--kmymoney2/views/kinvestmentviewdecl.ui2
-rw-r--r--kmymoney2/views/kmymoneyview.cpp2
-rw-r--r--kmymoney2/views/kmymoneyview.h2
-rw-r--r--kmymoney2/views/kpayeesview.cpp6
-rw-r--r--kmymoney2/views/kpayeesviewdecl.ui6
-rwxr-xr-xkmymoney2/views/kreportsview.cpp4
-rw-r--r--kmymoney2/views/kscheduledview.cpp2
-rw-r--r--kmymoney2/views/kscheduledviewdecl.ui2
20 files changed, 49 insertions, 49 deletions
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index 32a0043..8d28fb0 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -74,11 +74,11 @@ KAccountsView::KAccountsView(TQWidget *parent, const char *name) :
m_liabilityItem(0)
{
// create the searchline widget
- // and insert it into the existing tqlayout
+ // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget());
- TQVBoxLayout* tqlayout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->tqlayout());
- if(tqlayout) {
- tqlayout->insertWidget(0, m_searchWidget);
+ TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout());
+ if(layout) {
+ layout->insertWidget(0, m_searchWidget);
}
// setup icons for collapse and expand button
diff --git a/kmymoney2/views/kaccountsview.h b/kmymoney2/views/kaccountsview.h
index a8498fb..9ed197b 100644
--- a/kmymoney2/views/kaccountsview.h
+++ b/kmymoney2/views/kaccountsview.h
@@ -104,8 +104,8 @@ public slots:
void show(void);
/**
- * Override the base class behaviour to restore the tqlayout. Do not
- * do this in show() because show() itself may change the tqlayout
+ * Override the base class behaviour to restore the layout. Do not
+ * do this in show() because show() itself may change the layout
* in undesired ways.
*/
void polish(void);
diff --git a/kmymoney2/views/kaccountsviewdecl.ui b/kmymoney2/views/kaccountsviewdecl.ui
index e62e248..a8182a5 100644
--- a/kmymoney2/views/kaccountsviewdecl.ui
+++ b/kmymoney2/views/kaccountsviewdecl.ui
@@ -47,7 +47,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -137,7 +137,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kbudgetview.h b/kmymoney2/views/kbudgetview.h
index ee89007..b7b4267 100644
--- a/kmymoney2/views/kbudgetview.h
+++ b/kmymoney2/views/kbudgetview.h
@@ -86,8 +86,8 @@ public:
void show();
/**
- * Override the base class behaviour to restore the tqlayout. Do not
- * do this in show() because show() itself may change the tqlayout
+ * Override the base class behaviour to restore the layout. Do not
+ * do this in show() because show() itself may change the layout
* in undesired ways.
*/
void polish(void);
diff --git a/kmymoney2/views/kbudgetviewdecl.ui b/kmymoney2/views/kbudgetviewdecl.ui
index d593b25..f4c30e0 100644
--- a/kmymoney2/views/kbudgetviewdecl.ui
+++ b/kmymoney2/views/kbudgetviewdecl.ui
@@ -32,7 +32,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -59,7 +59,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout8</cstring>
+ <cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@@ -165,7 +165,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<vbox>
<property name="name">
@@ -213,7 +213,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -283,7 +283,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 6bfbbea..542cf7e 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -53,11 +53,11 @@ KCategoriesView::KCategoriesView(TQWidget *parent, const char *name ) :
m_needReload(false)
{
// create the searchline widget
- // and insert it into the existing tqlayout
+ // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget());
- TQVBoxLayout* tqlayout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->tqlayout());
- if(tqlayout) {
- tqlayout->insertWidget(0, m_searchWidget);
+ TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout());
+ if(layout) {
+ layout->insertWidget(0, m_searchWidget);
}
// setup icons for collapse and expand button
diff --git a/kmymoney2/views/kcategoriesview.h b/kmymoney2/views/kcategoriesview.h
index 8d1896e..9b39091 100644
--- a/kmymoney2/views/kcategoriesview.h
+++ b/kmymoney2/views/kcategoriesview.h
@@ -79,8 +79,8 @@ public slots:
void show(void);
/**
- * Override the base class behaviour to restore the tqlayout. Do not
- * do this in show() because show() itself may change the tqlayout
+ * Override the base class behaviour to restore the layout. Do not
+ * do this in show() because show() itself may change the layout
* in undesired ways.
*/
void polish(void);
diff --git a/kmymoney2/views/kcategoriesviewdecl.ui b/kmymoney2/views/kcategoriesviewdecl.ui
index e916d8f..c62c6bb 100644
--- a/kmymoney2/views/kcategoriesviewdecl.ui
+++ b/kmymoney2/views/kcategoriesviewdecl.ui
@@ -29,7 +29,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5_2</cstring>
+ <cstring>layout5_2</cstring>
</property>
<hbox>
<property name="name">
@@ -86,7 +86,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kforecastviewdecl.ui b/kmymoney2/views/kforecastviewdecl.ui
index ec2694b..0562f15 100644
--- a/kmymoney2/views/kforecastviewdecl.ui
+++ b/kmymoney2/views/kforecastviewdecl.ui
@@ -32,7 +32,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout16</cstring>
+ <cstring>layout16</cstring>
</property>
<grid>
<property name="name">
@@ -198,7 +198,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout76</cstring>
+ <cstring>layout76</cstring>
</property>
<vbox>
<property name="name">
@@ -206,7 +206,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout17</cstring>
+ <cstring>layout17</cstring>
</property>
<vbox>
<property name="name">
@@ -321,7 +321,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout75</cstring>
+ <cstring>layout75</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index bb64c10..8209d3f 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -177,13 +177,13 @@ KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name )
m_toolbar->alignItemRight(1);
#endif
m_toolbar->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed);
- tqlayout()->addWidget(m_toolbarFrame);
+ layout()->addWidget(m_toolbarFrame);
// create the register frame
m_registerFrame = new TQFrame(this);
TQVBoxLayout* registerFrameLayout = new TQVBoxLayout(m_registerFrame, 0, 0);
- tqlayout()->addWidget(m_registerFrame);
- tqlayout()->setStretchFactor(m_registerFrame, 2);
+ layout()->addWidget(m_registerFrame);
+ layout()->setStretchFactor(m_registerFrame, 2);
m_register = new KMyMoneyRegister::Register(m_registerFrame);
registerFrameLayout->addWidget(m_register);
m_register->installEventFilter(this);
@@ -210,12 +210,12 @@ KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name )
spacer = new TQSpacerItem( 20, 1, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
summaryFrameLayout->addItem(spacer);
summaryFrameLayout->addWidget(m_rightSummaryLabel);
- tqlayout()->addWidget(m_summaryFrame);
+ layout()->addWidget(m_summaryFrame);
// create the button frame
m_buttonFrame = new TQFrame(this);
TQVBoxLayout* buttonLayout = new TQVBoxLayout(m_buttonFrame, 0, 0);
- tqlayout()->addWidget(m_buttonFrame);
+ layout()->addWidget(m_buttonFrame);
m_buttonbar = new KToolBar(m_buttonFrame, 0, true);
m_buttonbar->setIconText(KToolBar::IconTextRight);
buttonLayout->addWidget(m_buttonbar);
@@ -236,7 +236,7 @@ KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name )
frameLayout->addWidget(m_form);
m_formFrame->setFrameShape( TQFrame::Panel );
m_formFrame->setFrameShadow( TQFrame::Raised );
- tqlayout()->addWidget(m_formFrame);
+ layout()->addWidget(m_formFrame);
connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView()));
connect(m_register, TQT_SIGNAL(focusChanged(KMyMoneyRegister::Transaction*)), m_form, TQT_SLOT(slotSetTransaction(KMyMoneyRegister::Transaction*)));
diff --git a/kmymoney2/views/kinstitutionsview.h b/kmymoney2/views/kinstitutionsview.h
index 6293f35..b604ae9 100644
--- a/kmymoney2/views/kinstitutionsview.h
+++ b/kmymoney2/views/kinstitutionsview.h
@@ -59,8 +59,8 @@ public slots:
void show(void);
/**
- * Override the base class behaviour to restore the tqlayout. Do not
- * do this in show() because show() itself may change the tqlayout
+ * Override the base class behaviour to restore the layout. Do not
+ * do this in show() because show() itself may change the layout
* in undesired ways.
*/
void polish(void);
diff --git a/kmymoney2/views/kinstitutionsviewdecl.ui b/kmymoney2/views/kinstitutionsviewdecl.ui
index a6cdf93..1fc2890 100644
--- a/kmymoney2/views/kinstitutionsviewdecl.ui
+++ b/kmymoney2/views/kinstitutionsviewdecl.ui
@@ -29,7 +29,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kinvestmentviewdecl.ui b/kmymoney2/views/kinvestmentviewdecl.ui
index 5c36fbc..f681c7a 100644
--- a/kmymoney2/views/kinvestmentviewdecl.ui
+++ b/kmymoney2/views/kinvestmentviewdecl.ui
@@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp
index 5101628..3b60c49 100644
--- a/kmymoney2/views/kmymoneyview.cpp
+++ b/kmymoney2/views/kmymoneyview.cpp
@@ -2240,7 +2240,7 @@ void KMyMoneyViewBase::addWidget(TQWidget* w)
d->m_viewLayout->addWidget(w);
}
-TQVBoxLayout* KMyMoneyViewBase::tqlayout(void) const
+TQVBoxLayout* KMyMoneyViewBase::layout(void) const
{
return d->m_viewLayout;
}
diff --git a/kmymoney2/views/kmymoneyview.h b/kmymoney2/views/kmymoneyview.h
index 2c1cd38..d542110 100644
--- a/kmymoney2/views/kmymoneyview.h
+++ b/kmymoney2/views/kmymoneyview.h
@@ -605,7 +605,7 @@ public:
virtual ~KMyMoneyViewBase();
void setTitle(const TQString& title);
- TQVBoxLayout* tqlayout(void) const;
+ TQVBoxLayout* layout(void) const;
void addWidget(TQWidget* w);
/**
diff --git a/kmymoney2/views/kpayeesview.cpp b/kmymoney2/views/kpayeesview.cpp
index 29696e5..11326da 100644
--- a/kmymoney2/views/kpayeesview.cpp
+++ b/kmymoney2/views/kpayeesview.cpp
@@ -323,7 +323,7 @@ KPayeesView::KPayeesView(TQWidget *parent, const char *name ) :
m_inSelection(false)
{
// create the searchline widget
- // and insert it into the existing tqlayout
+ // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_payeesList, this);
m_searchWidget->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed));
KPayeesViewDeclLayout->insertWidget(0, m_searchWidget);
@@ -333,7 +333,7 @@ KPayeesView::KPayeesView(TQWidget *parent, const char *name ) :
m_tabWidget->reparent(m_splitter, TQPoint(0, 0), true);
m_splitter->setResizeMode(m_tabWidget, TQSplitter::Stretch);
m_splitter->setOpaqueResize();
- tqlayout10->addWidget(m_splitter);
+ layout10->addWidget(m_splitter);
// use the size settings of the last run (if any)
KConfig *config = KGlobal::config();
@@ -913,7 +913,7 @@ void KPayeesView::show(void)
m_needReload = false;
}
- // fixup the tqlayout
+ // fixup the layout
TQTimer::singleShot(0, this, TQT_SLOT(rearrange()));
// don't forget base class implementation
diff --git a/kmymoney2/views/kpayeesviewdecl.ui b/kmymoney2/views/kpayeesviewdecl.ui
index 01bb31d..8d3a7b8 100644
--- a/kmymoney2/views/kpayeesviewdecl.ui
+++ b/kmymoney2/views/kpayeesviewdecl.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@@ -547,7 +547,7 @@ new transactions with this payee</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -600,7 +600,7 @@ new transactions with this payee</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp
index 12b8cef..8b43f5f 100755
--- a/kmymoney2/views/kreportsview.cpp
+++ b/kmymoney2/views/kreportsview.cpp
@@ -91,7 +91,7 @@ KReportsView::KReportTab::KReportTab(KTabWidget* parent, const MyMoneyReport& re
m_part( new KHTMLPart( this, "reporttabpart" ) ),
m_chartView( new KReportChartView( this, "reportchart" ) ),
m_control( new kMyMoneyReportControlDecl( this, "reportcontrol" ) ),
- m_layout( new TQVBoxLayout( this, 11, 6, "reporttabtqlayout" ) ),
+ m_layout( new TQVBoxLayout( this, 11, 6, "reporttablayout" ) ),
m_report( report ),
m_deleteMe( false ),
m_showingChart( false ),
@@ -141,7 +141,7 @@ void KReportsView::KReportTab::copyToClipboard(void)
{
TQTextDrag* pdrag = new TQTextDrag( createTable() );
pdrag->setSubtype("html");
- TQApplication::tqclipboard()->setData(pdrag);
+ TQApplication::clipboard()->setData(pdrag);
}
void KReportsView::KReportTab::saveAs( const TQString& filename, bool includeCSS )
diff --git a/kmymoney2/views/kscheduledview.cpp b/kmymoney2/views/kscheduledview.cpp
index ec3bc44..07c8d57 100644
--- a/kmymoney2/views/kscheduledview.cpp
+++ b/kmymoney2/views/kscheduledview.cpp
@@ -63,7 +63,7 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
m_openLoans(true)
{
// create the searchline widget
- // and insert it into the existing tqlayout
+ // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_qlistviewScheduled, m_listTab);
m_listTabLayout->insertWidget(0, m_searchWidget);
diff --git a/kmymoney2/views/kscheduledviewdecl.ui b/kmymoney2/views/kscheduledviewdecl.ui
index b505384..925dc19 100644
--- a/kmymoney2/views/kscheduledviewdecl.ui
+++ b/kmymoney2/views/kscheduledviewdecl.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">