summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:00:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:00:54 -0600
commit0d39600deb332ffb7fc3253491f78879d5dbbb75 (patch)
treef2fd5e60f605bb53b1d37ce588bd5429f51f5ab1
parent7c40ed9c6587c9696cce2c4a7d9588707179e966 (diff)
downloadadept-0d39600d.tar.gz
adept-0d39600d.zip
Rename old tq methods that no longer need a unique name
-rw-r--r--adept/adept/acqprogress.cpp28
-rw-r--r--adept/adept/acqprogress.h12
-rw-r--r--adept/adept/acqprogresswidget.cpp6
-rw-r--r--adept/adept/acqprogresswidget.h2
-rw-r--r--adept/adept/acqprogresswidgetui.ui2
-rw-r--r--adept/adept/commitprogressui.ui10
-rw-r--r--adept/adept/desktopentryui.ui4
-rw-r--r--adept/adept/dpkgpm-gui.cpp4
-rw-r--r--adept/adept/dpkgpm-gui.h2
-rw-r--r--adept/adept/dpkgpm.cpp18
-rw-r--r--adept/adept/dpkgpm.h6
-rw-r--r--adept/adept/easytagfilterui.ui6
-rw-r--r--adept/adept/extendablelist.cpp6
-rw-r--r--adept/adept/extendablelist.h2
-rw-r--r--adept/adept/installerviewui.ui2
-rw-r--r--adept/adept/lister.cpp14
-rw-r--r--adept/adept/lister.h4
-rw-r--r--adept/adept/listerextenderui.ui12
-rw-r--r--adept/adept/packagedetails.cpp2
-rw-r--r--adept/adept/packagedetailsui.ui14
-rw-r--r--adept/adept/packageinfo.cpp2
-rw-r--r--adept/adept/packageinfo.h2
-rw-r--r--adept/adept/packageinfoui.ui6
-rw-r--r--adept/adept/quickfilterui.ui6
-rw-r--r--adept/adept/statefilterui.ui4
-rw-r--r--adept/adept/tagfilterui.ui2
-rw-r--r--adept/adept/taglist.cpp6
-rw-r--r--adept/installer/app.cpp16
-rw-r--r--adept/kubuntu_upgrader/upgradewizardbase.ui4
-rw-r--r--adept/libadept/acqprogress.cpp34
-rw-r--r--adept/libadept/acqprogress.h12
-rw-r--r--adept/libadept/acqprogresswidget.cpp6
-rw-r--r--adept/libadept/acqprogresswidget.h2
-rw-r--r--adept/libadept/acqprogresswidgetui.ui2
-rw-r--r--adept/libadept/commitprogressui.ui10
-rw-r--r--adept/libadept/desktopentryui.ui4
-rw-r--r--adept/libadept/dpkgpm-gui.cpp4
-rw-r--r--adept/libadept/dpkgpm-gui.h2
-rw-r--r--adept/libadept/dpkgpm.cpp18
-rw-r--r--adept/libadept/dpkgpm.h6
-rw-r--r--adept/libadept/easytagfilterui.ui6
-rw-r--r--adept/libadept/extendablelist.cpp6
-rw-r--r--adept/libadept/extendablelist.h2
-rw-r--r--adept/libadept/installerviewui.ui2
-rw-r--r--adept/libadept/lister.cpp6
-rw-r--r--adept/libadept/listerextenderui.ui14
-rw-r--r--adept/libadept/packagedetails.cpp2
-rw-r--r--adept/libadept/packagedetailsui.ui14
-rw-r--r--adept/libadept/packageinfo.cpp2
-rw-r--r--adept/libadept/packageinfo.h2
-rw-r--r--adept/libadept/packageinfoui.ui6
-rw-r--r--adept/libadept/quickfilterui.ui6
-rw-r--r--adept/libadept/statefilterui.ui4
-rw-r--r--adept/libadept/tagfilterui.ui2
-rw-r--r--adept/libadept/taglist.cpp6
-rw-r--r--adept/manager/app.cpp2
-rw-r--r--adept/updater/app.cpp14
57 files changed, 200 insertions, 200 deletions
diff --git a/adept/adept/acqprogress.cpp b/adept/adept/acqprogress.cpp
index 64b74fe..604b6df 100644
--- a/adept/adept/acqprogress.cpp
+++ b/adept/adept/acqprogress.cpp
@@ -34,7 +34,7 @@ AcqStatus::Item::Item (KListView *parent, pkgAcquire::ItemDesc &item, bool hit)
{
m_pbcol = 0;
m_prog = new ItemProgress( 0, 0 );
- m_prog->settqStatus( "waiting" );
+ m_prog->setStatus( "waiting" );
m_prog->setTotalSteps( 100 );
m_item = item;
m_id = m_item.Owner->ID;
@@ -43,9 +43,9 @@ AcqStatus::Item::Item (KListView *parent, pkgAcquire::ItemDesc &item, bool hit)
setText( 1, u8( item.Description ) );
// cerr << "create: id = " << item . Owner -> ID << ", myId = " << m_item . Owner -> ID << endl;
if (hit) {
- m_prog->settqStatus( "hit" );
+ m_prog->setStatus( "hit" );
} else
- m_prog->settqStatus( "waiting" );
+ m_prog->setStatus( "waiting" );
// TQString (SizeToStr (Itm.Owner -> FileSize) . c_str ()) + TQString ("B"),
// /* TQString (Itm . Owner -> ID) + */ TQString (Itm.Description . c_str ()));
}
@@ -66,17 +66,17 @@ void AcqStatus::Item::pulse (pkgAcquire::Worker *w)
{
if (w) {
if (w->TotalSize)
- settqStatus( "progress", long( double(
+ setStatus( "progress", long( double(
w -> CurrentSize * 100.0)
/ double( w->TotalSize ) ) );
else
- settqStatus( "downloading", 0 );
+ setStatus( "downloading", 0 );
}
}
-void AcqStatus::Item::settqStatus( const std::string &s, int i )
+void AcqStatus::Item::setStatus( const std::string &s, int i )
{
- m_prog->settqStatus( s, i );
+ m_prog->setStatus( s, i );
}
void AcqStatus::Item::paintCell (TQPainter *p, const TQColorGroup &cg,
@@ -126,7 +126,7 @@ void AcqStatus::Done (pkgAcquire::ItemDesc &Itm)
{
Item *i = findItem (Itm);
if (i) {
- i->settqStatus( "done" );
+ i->setStatus( "done" );
}
emit statusChanged( StWaiting );
triggerUpdate();
@@ -156,7 +156,7 @@ void AcqStatus::IMSHit(pkgAcquire::ItemDesc &Itm)
Itm.Owner->ID = ID++;
Item *i = new Item( this, Itm, true );
// ensureItemVisible( i );
- i->settqStatus( "hit" );
+ i->setStatus( "hit" );
m_items.push_back( i );
kdDebug() << "imshit called on ID = " << ID - 1 << " i = " << (void *)i << endl;
@@ -199,9 +199,9 @@ void AcqStatus::Fail(pkgAcquire::ItemDesc &Itm)
if (! i)
return;
if (Itm.Owner->Status == pkgAcquire::Item::StatDone) {
- i->settqStatus( "ignored" );
+ i->setStatus( "ignored" );
} else {
- i->settqStatus( "error" );
+ i->setStatus( "error" );
}
triggerUpdate();
@@ -274,11 +274,11 @@ AcqStatusDialog::AcqStatusDialog (TQWidget *parent, const char *name, bool modal
m_status = new AcqStatus (this, "");
setMainWidget( m_status.data() );
enableButton (Ok, false);
- connect (m_status.data(), TQT_SIGNAL (statusChanged (AcqStatus::tqStatus)),
- this, TQT_SLOT (statusChange (AcqStatus::tqStatus)));
+ connect (m_status.data(), TQT_SIGNAL (statusChanged (AcqStatus::Status)),
+ this, TQT_SLOT (statusChange (AcqStatus::Status)));
}
-void AcqStatusDialog::statusChange (AcqStatus::tqStatus st)
+void AcqStatusDialog::statusChange (AcqStatus::Status st)
{
if (st == AcqStatus::StDownloading || st == AcqStatus::StWaiting) {
enableButton (Ok, false);
diff --git a/adept/adept/acqprogress.h b/adept/adept/acqprogress.h
index b27d327..660c01c 100644
--- a/adept/adept/acqprogress.h
+++ b/adept/adept/acqprogress.h
@@ -32,7 +32,7 @@ protected:
public:
ItemProgress( TQWidget *parent, const char *name = 0 )
: KProgress( parent, name ), m_spin( 0 ) {}
- void settqStatus( const std::string &s,
+ void setStatus( const std::string &s,
int prog = 0 ) {
m_status = s;
if (m_status == "hit"
@@ -72,7 +72,7 @@ protected:
void setProgress (int);
virtual int compare (TQListViewItem *i, int col, bool ascend) const;
virtual void pulse (pkgAcquire::Worker *);
- void settqStatus( const std::string &, int = 0 );
+ void setStatus( const std::string &, int = 0 );
void setup() {
KListViewItem::setup();
@@ -86,7 +86,7 @@ protected:
public:
- enum tqStatus { StWaiting, StDownloading, StDone };
+ enum Status { StWaiting, StDownloading, StDone };
AcqStatus (TQWidget *parent, const char *name);
Item *findItem (pkgAcquire::ItemDesc &Itm);
@@ -107,10 +107,10 @@ public slots:
void cancel();
signals:
- void statusChanged (AcqStatus::tqStatus st);
+ void statusChanged (AcqStatus::Status st);
void totalProgress (int percent);
- //AcqTexttqStatus(unsigned int &ScreenWidth,unsigned int Quiet);
+ //AcqTextStatus(unsigned int &ScreenWidth,unsigned int Quiet);
};
class AcqStatusDialog : public KDialogBase
@@ -123,7 +123,7 @@ public:
aptFront::SharedPtr<aptFront::ProgressCallback> callback() { return m_status.data(); };
AcqStatusDialog (TQWidget *parent, const char *name, bool modal);
public slots:
- void statusChange (AcqStatus::tqStatus st);
+ void statusChange (AcqStatus::Status st);
};
}
#endif
diff --git a/adept/adept/acqprogresswidget.cpp b/adept/adept/acqprogresswidget.cpp
index 9f8ff44..1b28fa5 100644
--- a/adept/adept/acqprogresswidget.cpp
+++ b/adept/adept/acqprogresswidget.cpp
@@ -15,13 +15,13 @@ AcqProgressWidget::AcqProgressWidget( TQWidget *parent, const char *name )
m_progress->setProgress( 0 );
connect(m_status, TQT_SIGNAL( totalProgress( int ) ),
this, TQT_SLOT( setProgress( int ) ) );
- connect(m_status, TQT_SIGNAL( statusChanged( AcqStatus::tqStatus ) ),
- this, TQT_SLOT( statusChange( AcqStatus::tqStatus ) ) );
+ connect(m_status, TQT_SIGNAL( statusChanged( AcqStatus::Status ) ),
+ this, TQT_SLOT( statusChange( AcqStatus::Status ) ) );
connect( m_cancel, TQT_SIGNAL( clicked() ),
m_status, TQT_SLOT( cancel() ) );
}
-void AcqProgressWidget::statusChange( AcqStatus::tqStatus s )
+void AcqProgressWidget::statusChange( AcqStatus::Status s )
{
TQString t;
switch (s) {
diff --git a/adept/adept/acqprogresswidget.h b/adept/adept/acqprogresswidget.h
index 375898f..0db0b8c 100644
--- a/adept/adept/acqprogresswidget.h
+++ b/adept/adept/acqprogresswidget.h
@@ -19,7 +19,7 @@ public:
AcqProgressWidget (TQWidget *parent = 0, const char *name = 0);
aptFront::SharedPtr<aptFront::ProgressCallback> callback() { return m_statusRef.data(); };
public slots:
- void statusChange( AcqStatus::tqStatus );
+ void statusChange( AcqStatus::Status );
void setProgress( int );
protected:
aptFront::SharedPtr<AcqStatus> m_statusRef;
diff --git a/adept/adept/acqprogresswidgetui.ui b/adept/adept/acqprogresswidgetui.ui
index d572eec..abb9aae 100644
--- a/adept/adept/acqprogresswidgetui.ui
+++ b/adept/adept/acqprogresswidgetui.ui
@@ -26,7 +26,7 @@
<property name="name">
<cstring>m_status</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>300</width>
<height>150</height>
diff --git a/adept/adept/commitprogressui.ui b/adept/adept/commitprogressui.ui
index 87fff45..9b94594 100644
--- a/adept/adept/commitprogressui.ui
+++ b/adept/adept/commitprogressui.ui
@@ -70,7 +70,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -143,7 +143,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -162,7 +162,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>80</height>
@@ -179,7 +179,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>32</height>
diff --git a/adept/adept/desktopentryui.ui b/adept/adept/desktopentryui.ui
index 211b8cb..23cdb94 100644
--- a/adept/adept/desktopentryui.ui
+++ b/adept/adept/desktopentryui.ui
@@ -37,7 +37,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
@@ -100,7 +100,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>6</width>
<height>20</height>
diff --git a/adept/adept/dpkgpm-gui.cpp b/adept/adept/dpkgpm-gui.cpp
index 14282cd..29c8a98 100644
--- a/adept/adept/dpkgpm-gui.cpp
+++ b/adept/adept/dpkgpm-gui.cpp
@@ -197,10 +197,10 @@ void DPkgPM::dpkgMonitor ()
kapp->processEvents();
}
-void DPkgPM::updatetqStatus( std::string pkg, std::string ev, std::string r )
+void DPkgPM::updateStatus( std::string pkg, std::string ev, std::string r )
{
std::string op, msg;
- aptFront::DPkgPM::updatetqStatus( pkg, ev, r );
+ aptFront::DPkgPM::updateStatus( pkg, ev, r );
entity::Package p = cache::Global::get().packages().packageByName( pkg );
if ( m_currentOp == OInstall ) {
diff --git a/adept/adept/dpkgpm-gui.h b/adept/adept/dpkgpm-gui.h
index 0c3ce26..a28b740 100644
--- a/adept/adept/dpkgpm-gui.h
+++ b/adept/adept/dpkgpm-gui.h
@@ -47,7 +47,7 @@ public:
virtual bool Go (int);
virtual bool forkScript (const char *, bool);
ExtTerminalInterface *terminal();
- virtual void updatetqStatus( std::string pkg, std::string ev, std::string r );
+ virtual void updateStatus( std::string pkg, std::string ev, std::string r );
public slots:
void processExitC(const KProcess *p);
diff --git a/adept/adept/dpkgpm.cpp b/adept/adept/dpkgpm.cpp
index 00eb36d..025d50f 100644
--- a/adept/adept/dpkgpm.cpp
+++ b/adept/adept/dpkgpm.cpp
@@ -112,9 +112,9 @@ bool DPkgPM::forkDpkg (char *const argv[])
close( m_dpkgPipe[1] );
fcntl( m_dpkgPipe[0], F_SETFL, O_NONBLOCK );
- int tqStatus = 0;
+ int Status = 0;
int ret = 0;
- while ((ret = waitpid (Child, &tqStatus, WNOHANG)) != Child) {
+ while ((ret = waitpid (Child, &Status, WNOHANG)) != Child) {
if (errno == EINTR || ret == 0) {
dpkgMonitor ();
usleep (200000); // 0.2 second hang
@@ -131,14 +131,14 @@ bool DPkgPM::forkDpkg (char *const argv[])
signal(SIGINT,old_SIGINT);
// Check for an error code.
- if (WIFEXITED(tqStatus) == 0 || WEXITSTATUS(tqStatus) != 0)
+ if (WIFEXITED(Status) == 0 || WEXITSTATUS(Status) != 0)
{
runScripts ("DPkg::Post-Invoke", false);
- if (WIFSIGNALED(tqStatus) != 0 && WTERMSIG(tqStatus) == SIGSEGV)
+ if (WIFSIGNALED(Status) != 0 && WTERMSIG(Status) == SIGSEGV)
return _error->Error("Sub-process %s received a segmentation fault.", argv [0]);
- if (WIFEXITED(tqStatus) != 0)
- return _error->Error("Sub-process %s returned an error code (%u)", argv[0], WEXITSTATUS(tqStatus));
+ if (WIFEXITED(Status) != 0)
+ return _error->Error("Sub-process %s returned an error code (%u)", argv[0], WEXITSTATUS(Status));
return _error->Error("Sub-process %s exited unexpectedly", argv[0]);
}
@@ -313,7 +313,7 @@ void DPkgPM::dpkgMonitor ()
r = "";
else
r = string( r, colon + 2, string::npos );
- updatetqStatus( p, e, r );
+ updateStatus( p, e, r );
}
b = string( b, nl + 1, string::npos );
@@ -323,7 +323,7 @@ void DPkgPM::dpkgMonitor ()
}
}
-void DPkgPM::updatetqStatus( std::string pkg, std::string ev, std::string r )
+void DPkgPM::updateStatus( std::string pkg, std::string ev, std::string r )
{
//std::cerr << "DPkgPM::updateStatus " << pkg << " " << ev << " " << r
// << std::endl;
@@ -336,7 +336,7 @@ void DPkgPM::updatetqStatus( std::string pkg, std::string ev, std::string r )
return;
}
- OpAndtqStatus os = std::make_pair( m_currentOp, ev );
+ OpAndStatus os = std::make_pair( m_currentOp, ev );
if ( m_seenOps[ std::make_pair( os, pkg ) ] == 0 ) {
m_seenOpCount++;
m_seenOps[ std::make_pair( os, pkg ) ] = 1;
diff --git a/adept/adept/dpkgpm.h b/adept/adept/dpkgpm.h
index 37e9001..b899693 100644
--- a/adept/adept/dpkgpm.h
+++ b/adept/adept/dpkgpm.h
@@ -21,8 +21,8 @@ protected:
int m_scriptPipe[2];
unsigned m_version;
std::string m_statusBuffer;
- typedef std::pair< Op, std::string > OpAndtqStatus;
- typedef std::map< std::pair< OpAndtqStatus, std::string >, int > SeenOps;
+ typedef std::pair< Op, std::string > OpAndStatus;
+ typedef std::map< std::pair< OpAndStatus, std::string >, int > SeenOps;
SeenOps m_seenOps;
int m_totalOpCount;
int m_seenOpCount;
@@ -39,7 +39,7 @@ public:
virtual void dpkgMonitor (void);
virtual bool SendV1Pkgs (FILE *);
virtual bool feedPackages (void);
- virtual void updatetqStatus( std::string pkg, std::string ev, std::string r );
+ virtual void updateStatus( std::string pkg, std::string ev, std::string r );
};
}
diff --git a/adept/adept/easytagfilterui.ui b/adept/adept/easytagfilterui.ui
index c7bc4ca..9c269c8 100644
--- a/adept/adept/easytagfilterui.ui
+++ b/adept/adept/easytagfilterui.ui
@@ -59,7 +59,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>130</width>
<height>20</height>
@@ -185,7 +185,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/adept/adept/extendablelist.cpp b/adept/adept/extendablelist.cpp
index 199b4d8..474f9c5 100644
--- a/adept/adept/extendablelist.cpp
+++ b/adept/adept/extendablelist.cpp
@@ -98,7 +98,7 @@ void ExtendableList::updateExtender( ExtendableItem *i )
return;
}
- // TQRect rect = tqitemRect( i );
+ // TQRect rect = itemRect( i );
addChild( i->extender(), extenderOffset( i ), itemPos( i ) );
// addChild( i->extender(), x, rect.y() );
i->extender()->show();
@@ -305,12 +305,12 @@ void ExtendableItem::paintBranches( TQPainter *p,
static void setcolor( TQWidget *w, ExtendableItem *i ) {
if ( i->isSelected() && i->list()->extenderHighlight() )
- w->setPaletteBackgroundColor( w->tqcolorGroup().highlight() );
+ w->setPaletteBackgroundColor( w->colorGroup().highlight() );
else if ( i->isAlternate() )
w->setPaletteBackgroundColor(
KGlobalSettings::alternateBackgroundColor() );
else
- w->setPaletteBackgroundColor( w->tqcolorGroup().base() );
+ w->setPaletteBackgroundColor( w->colorGroup().base() );
// w->setBackgroundMode( TQWidget::PaletteBase );
}
void ItemExtender::setupColors()
diff --git a/adept/adept/extendablelist.h b/adept/adept/extendablelist.h
index 3bad5ec..c28ea89 100644
--- a/adept/adept/extendablelist.h
+++ b/adept/adept/extendablelist.h
@@ -147,7 +147,7 @@ public:
setUpdatesEnabled( false );
TQWidget::resize( w, h );
setUpdatesEnabled( true );
- TQWidget::resize( w, tqlayout()->tqminimumSize().height() );
+ TQWidget::resize( w, tqlayout()->minimumSize().height() );
}
void resize( const TQSize &s ) {
diff --git a/adept/adept/installerviewui.ui b/adept/adept/installerviewui.ui
index 72a6a53..29a31ea 100644
--- a/adept/adept/installerviewui.ui
+++ b/adept/adept/installerviewui.ui
@@ -106,7 +106,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
diff --git a/adept/adept/lister.cpp b/adept/adept/lister.cpp
index ea0ba08..095088c 100644
--- a/adept/adept/lister.cpp
+++ b/adept/adept/lister.cpp
@@ -402,7 +402,7 @@ TQString ListerItem::text( int column ) const
switch (column) {
case Lister::ColPackage: return u8( p.name( u8( i18n( "n/a" ) ) ) );
- case Lister::ColtqStatus: return u8( p.statusString( u8( i18n( "n/a" ) ) ) );
+ case Lister::ColStatus: return u8( p.statusString( u8( i18n( "n/a" ) ) ) );
case Lister::ColRequested: return u8( p.actionString( u8( i18n( "n/a" ) ) ) );
case Lister::ColDescription: return u8( p.shortDescription( u8( i18n( "n/a" ) ) ) );
// case 2: return p.candidateVersion().versionString();
@@ -460,7 +460,7 @@ void ListerItem::paintCell ( TQPainter *p, const TQColorGroup &cg,
entity::Package p = entity();
// Paint the status column
- if ( column == Lister::ColtqStatus ) {
+ if ( column == Lister::ColStatus ) {
c = statusColor( p );
}
@@ -544,7 +544,7 @@ ListerItemExtender::ListerItemExtender( TQWidget *parent, const char * n)
this, TQT_SLOT( detailsClicked() ) );
m_packageInfo->adjustFontSize( -1 );
- m_packageInfo->hidetqStatus();
+ m_packageInfo->hideStatus();
}
void ListerItemExtender::detailsClicked() {
@@ -558,7 +558,7 @@ ListerItem *ListerItemExtender::item()
void ListerItemExtender::mouseReleaseEvent( TQMouseEvent *e ) {
e->ignore();
- if ( tqchildAt( e->pos() ) != static_cast< TQWidget * >( m_name ) )
+ if ( childAt( e->pos() ) != static_cast< TQWidget * >( m_name ) )
e->accept();
}
void ListerItemExtender::setItem( ExtendableItem *i )
@@ -672,7 +672,7 @@ void ListerItemExtender::resize( int w, int h )
- tqlayout()->margin()
- tqlayout()->spacing()
+ item()->lister()->columnWidth( 0 );
- int statw = item()->lister()->columnWidth( Lister::ColtqStatus )
+ int statw = item()->lister()->columnWidth( Lister::ColStatus )
- tqlayout()->spacing();
int chw = item()->lister()->columnWidth( Lister::ColRequested )
- tqlayout()->spacing() - 3; // wth...
@@ -776,7 +776,7 @@ void ListerTooltip::maybeTip( const TQPoint &pt )
str += format( i18n( "Candidate&nbsp;Version:" ), cand );
str.append( u8( "</qt>" ) );
- tip( m_parent->tqitemRect( x ), str );
+ tip( m_parent->itemRect( x ), str );
}
void ListerItemTooltip::maybeTip(const TQPoint& pt) {
@@ -800,7 +800,7 @@ void ListerItemTooltip::maybeTip(const TQPoint& pt) {
}
// Grab the item rectangle
- const TQRect irect = m_parent->tqitemRect(item);
+ const TQRect irect = m_parent->itemRect(item);
if (!irect.isValid()) {
return;
}
diff --git a/adept/adept/lister.h b/adept/adept/lister.h
index a281fb4..47f44e9 100644
--- a/adept/adept/lister.h
+++ b/adept/adept/lister.h
@@ -50,12 +50,12 @@ public:
static const int ColPackage = 0;
#ifdef KUBUNTU
static const int ColIcon = 1;
- static const int ColtqStatus = 2;
+ static const int ColStatus = 2;
static const int ColRequested = 3;
static const int ColDescription = 4;
static const int ColLast = 4;
#else
- static const int ColtqStatus = 1;
+ static const int ColStatus = 1;
static const int ColRequested = 2;
static const int ColDescription = 3;
static const int ColLast = 3;
diff --git a/adept/adept/listerextenderui.ui b/adept/adept/listerextenderui.ui
index 27d42c0..69d15df 100644
--- a/adept/adept/listerextenderui.ui
+++ b/adept/adept/listerextenderui.ui
@@ -35,7 +35,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>4</width>
<height>4</height>
@@ -52,7 +52,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>4</width>
<height>4</height>
@@ -204,7 +204,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -237,7 +237,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -250,7 +250,7 @@
<property name="name">
<cstring>m_packageInfo</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
@@ -267,7 +267,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>1</width>
<height>20</height>
diff --git a/adept/adept/packagedetails.cpp b/adept/adept/packagedetails.cpp
index 4f1908a..b245feb 100644
--- a/adept/adept/packagedetails.cpp
+++ b/adept/adept/packagedetails.cpp
@@ -44,7 +44,7 @@ PackageDetails::PackageDetails( TQWidget *w, const char *n )
m_lister->setRangeProvider( this ); // wee
// m_lister->setOpenToplevel( true );
- m_description->setPaper( TQBrush( tqcolorGroup().background() ) );
+ m_description->setPaper( TQBrush( colorGroup().background() ) );
connect( m_toolbar->getButton( BShow ), TQT_SIGNAL( clicked() ),
this, TQT_SIGNAL( showList() ) );
diff --git a/adept/adept/packagedetailsui.ui b/adept/adept/packagedetailsui.ui
index b94120c..4734c4c 100644
--- a/adept/adept/packagedetailsui.ui
+++ b/adept/adept/packagedetailsui.ui
@@ -83,7 +83,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>75</height>
@@ -100,7 +100,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -125,7 +125,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -150,7 +150,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -231,7 +231,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>120</height>
@@ -284,7 +284,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@@ -352,7 +352,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>61</height>
diff --git a/adept/adept/packageinfo.cpp b/adept/adept/packageinfo.cpp
index 0386604..001460a 100644
--- a/adept/adept/packageinfo.cpp
+++ b/adept/adept/packageinfo.cpp
@@ -31,7 +31,7 @@ void PackageInfo::adjustFontSize( int s ) {
adept::adjustFontSize( m_installedVer, s );
}
-void PackageInfo::hidetqStatus() {
+void PackageInfo::hideStatus() {
m_status->hide();
m_change->hide();
}
diff --git a/adept/adept/packageinfo.h b/adept/adept/packageinfo.h
index 339c4f5..fc43ed1 100644
--- a/adept/adept/packageinfo.h
+++ b/adept/adept/packageinfo.h
@@ -26,7 +26,7 @@ public slots:
public:
void notifyPostChange( cache::component::Base * );
void notifyPostRebuild( cache::component::Base * );
- void hidetqStatus();
+ void hideStatus();
protected:
cache::entity::StableVersion m_version;
bool m_specificVersion;
diff --git a/adept/adept/packageinfoui.ui b/adept/adept/packageinfoui.ui
index 26ae282..5664467 100644
--- a/adept/adept/packageinfoui.ui
+++ b/adept/adept/packageinfoui.ui
@@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>16</width>
<height>5</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>16</width>
<height>5</height>
@@ -65,7 +65,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
diff --git a/adept/adept/quickfilterui.ui b/adept/adept/quickfilterui.ui
index dd90f08..835b4cf 100644
--- a/adept/adept/quickfilterui.ui
+++ b/adept/adept/quickfilterui.ui
@@ -45,7 +45,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@@ -62,7 +62,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -114,7 +114,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>21</height>
diff --git a/adept/adept/statefilterui.ui b/adept/adept/statefilterui.ui
index 295f29d..8744a4d 100644
--- a/adept/adept/statefilterui.ui
+++ b/adept/adept/statefilterui.ui
@@ -78,7 +78,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>195</width>
<height>16</height>
@@ -137,7 +137,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>195</width>
<height>16</height>
diff --git a/adept/adept/tagfilterui.ui b/adept/adept/tagfilterui.ui
index 82a8dce..1f78b8a 100644
--- a/adept/adept/tagfilterui.ui
+++ b/adept/adept/tagfilterui.ui
@@ -40,7 +40,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>90</height>
diff --git a/adept/adept/taglist.cpp b/adept/adept/taglist.cpp
index 9879d01..4538040 100644
--- a/adept/adept/taglist.cpp
+++ b/adept/adept/taglist.cpp
@@ -24,7 +24,7 @@ TagLabel::TagLabel( Tag t, TagList *l, TQWidget *p, const char *n )
} else {
m_remove = new TQLabel( this );
m_remove->setPixmap( SmallIcon( u8( "cancel" ) ) );
- m_remove->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ m_remove->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
m_description = new TQLabel( TQString( " [" ) + t.fullname( "n/a" ) + "] "
+ t.shortDescription( "n/a" ), this );
}
@@ -33,7 +33,7 @@ TagLabel::TagLabel( Tag t, TagList *l, TQWidget *p, const char *n )
void TagLabel::mouseReleaseEvent( TQMouseEvent *e ) {
using namespace wibble::operators;
if ( e->button() == Qt::LeftButton &&
- dynamic_cast< TQLabel * >( tqchildAt( e->pos() ) ) == m_remove )
+ dynamic_cast< TQLabel * >( childAt( e->pos() ) ) == m_remove )
m_list->setTags( m_list->tags() - m_tag );
}
@@ -105,7 +105,7 @@ void TagList::appendLabel( TagLabel *l )
}
void TagList::mouseMoveEvent( TQMouseEvent *e ) {
- TagLabel *child = dynamic_cast< TagLabel * >( tqchildAt( e->pos() )->parentWidget() );
+ TagLabel *child = dynamic_cast< TagLabel * >( childAt( e->pos() )->parentWidget() );
if ( !child )
return;
TQDragObject *d = new TQTextDrag( child->tag().fullname( "" ), this );
diff --git a/adept/installer/app.cpp b/adept/installer/app.cpp
index 00cf4ca..6a8f754 100644
--- a/adept/installer/app.cpp
+++ b/adept/installer/app.cpp
@@ -105,7 +105,7 @@ App::App() {
m_stack = new TQWidgetStack( m_all );
m_stack->addWidget( m_loading = new TQLabel( i18n( "Loading, please wait..." ), m_stack ) );
- m_loading->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
+ m_loading->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
m_buttons = new TQHBox( m_all );
m_editSources = new KPushButton( i18n( "Edit Software Sources" ), m_buttons );
@@ -121,10 +121,10 @@ App::App() {
m_buttons->setSpacing( 2 );
m_buttons->setMargin( 2 );
TQSizePolicy buttons( TQSizePolicy::Preferred, TQSizePolicy::Fixed, false );
- m_buttons->tqsetSizePolicy( buttons );
- m_next->tqsetSizePolicy( buttons );
- m_quit->tqsetSizePolicy( buttons );
- space->tqsetSizePolicy( TQSizePolicy(
+ m_buttons->setSizePolicy( buttons );
+ m_next->setSizePolicy( buttons );
+ m_quit->setSizePolicy( buttons );
+ space->setSizePolicy( TQSizePolicy(
TQSizePolicy::Expanding,
TQSizePolicy::Fixed, false ) );
@@ -180,7 +180,7 @@ void App::delayed() {
m_stack->addWidget(
m_bye = new TQLabel( i18n( "Installation Complete!" ), m_stack ) );
- m_bye->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
+ m_bye->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
m_stack->addWidget( m_progress = new adept::AcqProgressWidget( m_stack ) );
m_stack->addWidget( m_commitProgress = new CommitProgress( m_stack ) );
@@ -215,11 +215,11 @@ bool App::confirmRequest( entity::Package p, component::State::Action a )
// db->plainPage()->setLayout( tqlayout = new TQVBoxLayout( db->plainPage() ) );
// TQVBox *vb = new TQVBox( db );
TQLabel *txt = new TQLabel( db->plainPage() );
- txt->tqsetAlignment( TQt::AlignLeft | TQt::AlignTop | TQt::WordBreak );
+ txt->setAlignment( TQt::AlignLeft | TQt::AlignTop | TQt::WordBreak );
txt->setMinimumWidth( 500 );
txt->setText( t );
txt->setFixedHeight( txt->heightForWidth( 320 ) );
- txt->tqsetSizePolicy( TQSizePolicy(
+ txt->setSizePolicy( TQSizePolicy(
TQSizePolicy::Expanding, TQSizePolicy::Fixed, false ) );
DesktopList *l = new DesktopList( db->plainPage() );
l->setMinimumHeight( 220 );
diff --git a/adept/kubuntu_upgrader/upgradewizardbase.ui b/adept/kubuntu_upgrader/upgradewizardbase.ui
index 439a113..e025337 100644
--- a/adept/kubuntu_upgrader/upgradewizardbase.ui
+++ b/adept/kubuntu_upgrader/upgradewizardbase.ui
@@ -48,7 +48,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>271</height>
@@ -129,7 +129,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>231</height>
diff --git a/adept/libadept/acqprogress.cpp b/adept/libadept/acqprogress.cpp
index 332c60a..604b6df 100644
--- a/adept/libadept/acqprogress.cpp
+++ b/adept/libadept/acqprogress.cpp
@@ -34,7 +34,7 @@ AcqStatus::Item::Item (KListView *parent, pkgAcquire::ItemDesc &item, bool hit)
{
m_pbcol = 0;
m_prog = new ItemProgress( 0, 0 );
- m_prog->settqStatus( "waiting" );
+ m_prog->setStatus( "waiting" );
m_prog->setTotalSteps( 100 );
m_item = item;
m_id = m_item.Owner->ID;
@@ -43,9 +43,9 @@ AcqStatus::Item::Item (KListView *parent, pkgAcquire::ItemDesc &item, bool hit)
setText( 1, u8( item.Description ) );
// cerr << "create: id = " << item . Owner -> ID << ", myId = " << m_item . Owner -> ID << endl;
if (hit) {
- m_prog->settqStatus( "hit" );
+ m_prog->setStatus( "hit" );
} else
- m_prog->settqStatus( "waiting" );
+ m_prog->setStatus( "waiting" );
// TQString (SizeToStr (Itm.Owner -> FileSize) . c_str ()) + TQString ("B"),
// /* TQString (Itm . Owner -> ID) + */ TQString (Itm.Description . c_str ()));
}
@@ -66,17 +66,17 @@ void AcqStatus::Item::pulse (pkgAcquire::Worker *w)
{
if (w) {
if (w->TotalSize)
- settqStatus( "progress", long( double(
+ setStatus( "progress", long( double(
w -> CurrentSize * 100.0)
/ double( w->TotalSize ) ) );
else
- settqStatus( "downloading", 0 );
+ setStatus( "downloading", 0 );
}
}
-void AcqStatus::Item::settqStatus( const std::string &s, int i )
+void AcqStatus::Item::setStatus( const std::string &s, int i )
{
- m_prog->settqStatus( s, i );
+ m_prog->setStatus( s, i );
}
void AcqStatus::Item::paintCell (TQPainter *p, const TQColorGroup &cg,
@@ -126,7 +126,7 @@ void AcqStatus::Done (pkgAcquire::ItemDesc &Itm)
{
Item *i = findItem (Itm);
if (i) {
- i->settqStatus( "done" );
+ i->setStatus( "done" );
}
emit statusChanged( StWaiting );
triggerUpdate();
@@ -156,7 +156,7 @@ void AcqStatus::IMSHit(pkgAcquire::ItemDesc &Itm)
Itm.Owner->ID = ID++;
Item *i = new Item( this, Itm, true );
// ensureItemVisible( i );
- i->settqStatus( "hit" );
+ i->setStatus( "hit" );
m_items.push_back( i );
kdDebug() << "imshit called on ID = " << ID - 1 << " i = " << (void *)i << endl;
@@ -186,10 +186,10 @@ void AcqStatus::Fetch(pkgAcquire::ItemDesc &Itm)
void AcqStatus::Fail(pkgAcquire::ItemDesc &Itm)
// item failed to download
{
- kdDebug() << "fail, status = " << Itm.Owner->tqStatus
+ kdDebug() << "fail, status = " << Itm.Owner->Status
<< " ID = " << Itm.Owner->ID << endl;
// Ignore certain kinds of transient failures (bad code)
- if (Itm.Owner->tqStatus == pkgAcquire::Item::StatIdle) {
+ if (Itm.Owner->Status == pkgAcquire::Item::StatIdle) {
kdDebug() << "fail with StatIdle, ignoring" << endl;
return;
}
@@ -198,10 +198,10 @@ void AcqStatus::Fail(pkgAcquire::ItemDesc &Itm)
kdDebug() << "fail, i = " << i << endl;
if (! i)
return;
- if (Itm.Owner->tqStatus == pkgAcquire::Item::StatDone) {
- i->settqStatus( "ignored" );
+ if (Itm.Owner->Status == pkgAcquire::Item::StatDone) {
+ i->setStatus( "ignored" );
} else {
- i->settqStatus( "error" );
+ i->setStatus( "error" );
}
triggerUpdate();
@@ -274,11 +274,11 @@ AcqStatusDialog::AcqStatusDialog (TQWidget *parent, const char *name, bool modal
m_status = new AcqStatus (this, "");
setMainWidget( m_status.data() );
enableButton (Ok, false);
- connect (m_status.data(), TQT_SIGNAL (statusChanged (AcqStatus::tqStatus)),
- this, TQT_SLOT (statusChange (AcqStatus::tqStatus)));
+ connect (m_status.data(), TQT_SIGNAL (statusChanged (AcqStatus::Status)),
+ this, TQT_SLOT (statusChange (AcqStatus::Status)));
}
-void AcqStatusDialog::statusChange (AcqStatus::tqStatus st)
+void AcqStatusDialog::statusChange (AcqStatus::Status st)
{
if (st == AcqStatus::StDownloading || st == AcqStatus::StWaiting) {
enableButton (Ok, false);
diff --git a/adept/libadept/acqprogress.h b/adept/libadept/acqprogress.h
index b27d327..660c01c 100644
--- a/adept/libadept/acqprogress.h
+++ b/adept/libadept/acqprogress.h
@@ -32,7 +32,7 @@ protected:
public:
ItemProgress( TQWidget *parent, const char *name = 0 )
: KProgress( parent, name ), m_spin( 0 ) {}
- void settqStatus( const std::string &s,
+ void setStatus( const std::string &s,
int prog = 0 ) {
m_status = s;
if (m_status == "hit"
@@ -72,7 +72,7 @@ protected:
void setProgress (int);
virtual int compare (TQListViewItem *i, int col, bool ascend) const;
virtual void pulse (pkgAcquire::Worker *);
- void settqStatus( const std::string &, int = 0 );
+ void setStatus( const std::string &, int = 0 );
void setup() {
KListViewItem::setup();
@@ -86,7 +86,7 @@ protected:
public:
- enum tqStatus { StWaiting, StDownloading, StDone };
+ enum Status { StWaiting, StDownloading, StDone };
AcqStatus (TQWidget *parent, const char *name);
Item *findItem (pkgAcquire::ItemDesc &Itm);
@@ -107,10 +107,10 @@ public slots:
void cancel();
signals:
- void statusChanged (AcqStatus::tqStatus st);
+ void statusChanged (AcqStatus::Status st);
void totalProgress (int percent);
- //AcqTexttqStatus(unsigned int &ScreenWidth,unsigned int Quiet);
+ //AcqTextStatus(unsigned int &ScreenWidth,unsigned int Quiet);
};
class AcqStatusDialog : public KDialogBase
@@ -123,7 +123,7 @@ public:
aptFront::SharedPtr<aptFront::ProgressCallback> callback() { return m_status.data(); };
AcqStatusDialog (TQWidget *parent, const char *name, bool modal);
public slots:
- void statusChange (AcqStatus::tqStatus st);
+ void statusChange (AcqStatus::Status st);
};
}
#endif
diff --git a/adept/libadept/acqprogresswidget.cpp b/adept/libadept/acqprogresswidget.cpp
index 9f8ff44..1b28fa5 100644
--- a/adept/libadept/acqprogresswidget.cpp
+++ b/adept/libadept/acqprogresswidget.cpp
@@ -15,13 +15,13 @@ AcqProgressWidget::AcqProgressWidget( TQWidget *parent, const char *name )
m_progress->setProgress( 0 );
connect(m_status, TQT_SIGNAL( totalProgress( int ) ),
this, TQT_SLOT( setProgress( int ) ) );
- connect(m_status, TQT_SIGNAL( statusChanged( AcqStatus::tqStatus ) ),
- this, TQT_SLOT( statusChange( AcqStatus::tqStatus ) ) );
+ connect(m_status, TQT_SIGNAL( statusChanged( AcqStatus::Status ) ),
+ this, TQT_SLOT( statusChange( AcqStatus::Status ) ) );
connect( m_cancel, TQT_SIGNAL( clicked() ),
m_status, TQT_SLOT( cancel() ) );
}
-void AcqProgressWidget::statusChange( AcqStatus::tqStatus s )
+void AcqProgressWidget::statusChange( AcqStatus::Status s )
{
TQString t;
switch (s) {
diff --git a/adept/libadept/acqprogresswidget.h b/adept/libadept/acqprogresswidget.h
index 375898f..0db0b8c 100644
--- a/adept/libadept/acqprogresswidget.h
+++ b/adept/libadept/acqprogresswidget.h
@@ -19,7 +19,7 @@ public:
AcqProgressWidget (TQWidget *parent = 0, const char *name = 0);
aptFront::SharedPtr<aptFront::ProgressCallback> callback() { return m_statusRef.data(); };
public slots:
- void statusChange( AcqStatus::tqStatus );
+ void statusChange( AcqStatus::Status );
void setProgress( int );
protected:
aptFront::SharedPtr<AcqStatus> m_statusRef;
diff --git a/adept/libadept/acqprogresswidgetui.ui b/adept/libadept/acqprogresswidgetui.ui
index d572eec..abb9aae 100644
--- a/adept/libadept/acqprogresswidgetui.ui
+++ b/adept/libadept/acqprogresswidgetui.ui
@@ -26,7 +26,7 @@
<property name="name">
<cstring>m_status</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>300</width>
<height>150</height>
diff --git a/adept/libadept/commitprogressui.ui b/adept/libadept/commitprogressui.ui
index 87fff45..9b94594 100644
--- a/adept/libadept/commitprogressui.ui
+++ b/adept/libadept/commitprogressui.ui
@@ -70,7 +70,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -143,7 +143,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -162,7 +162,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>80</height>
@@ -179,7 +179,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>32</height>
diff --git a/adept/libadept/desktopentryui.ui b/adept/libadept/desktopentryui.ui
index 211b8cb..23cdb94 100644
--- a/adept/libadept/desktopentryui.ui
+++ b/adept/libadept/desktopentryui.ui
@@ -37,7 +37,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
@@ -100,7 +100,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>6</width>
<height>20</height>
diff --git a/adept/libadept/dpkgpm-gui.cpp b/adept/libadept/dpkgpm-gui.cpp
index 14282cd..29c8a98 100644
--- a/adept/libadept/dpkgpm-gui.cpp
+++ b/adept/libadept/dpkgpm-gui.cpp
@@ -197,10 +197,10 @@ void DPkgPM::dpkgMonitor ()
kapp->processEvents();
}
-void DPkgPM::updatetqStatus( std::string pkg, std::string ev, std::string r )
+void DPkgPM::updateStatus( std::string pkg, std::string ev, std::string r )
{
std::string op, msg;
- aptFront::DPkgPM::updatetqStatus( pkg, ev, r );
+ aptFront::DPkgPM::updateStatus( pkg, ev, r );
entity::Package p = cache::Global::get().packages().packageByName( pkg );
if ( m_currentOp == OInstall ) {
diff --git a/adept/libadept/dpkgpm-gui.h b/adept/libadept/dpkgpm-gui.h
index 0c3ce26..a28b740 100644
--- a/adept/libadept/dpkgpm-gui.h
+++ b/adept/libadept/dpkgpm-gui.h
@@ -47,7 +47,7 @@ public:
virtual bool Go (int);
virtual bool forkScript (const char *, bool);
ExtTerminalInterface *terminal();
- virtual void updatetqStatus( std::string pkg, std::string ev, std::string r );
+ virtual void updateStatus( std::string pkg, std::string ev, std::string r );
public slots:
void processExitC(const KProcess *p);
diff --git a/adept/libadept/dpkgpm.cpp b/adept/libadept/dpkgpm.cpp
index 7756505..b38b5fb 100644
--- a/adept/libadept/dpkgpm.cpp
+++ b/adept/libadept/dpkgpm.cpp
@@ -111,9 +111,9 @@ bool DPkgPM::forkDpkg (char *const argv[])
close( m_dpkgPipe[1] );
fcntl( m_dpkgPipe[0], F_SETFL, O_NONBLOCK );
- int tqStatus = 0;
+ int Status = 0;
int ret = 0;
- while ((ret = waitpid (Child, &tqStatus, WNOHANG)) != Child) {
+ while ((ret = waitpid (Child, &Status, WNOHANG)) != Child) {
if (errno == EINTR || ret == 0) {
dpkgMonitor ();
usleep (200000); // 0.2 second hang
@@ -130,14 +130,14 @@ bool DPkgPM::forkDpkg (char *const argv[])
signal(SIGINT,old_SIGINT);
// Check for an error code.
- if (WIFEXITED(tqStatus) == 0 || WEXITSTATUS(tqStatus) != 0)
+ if (WIFEXITED(Status) == 0 || WEXITSTATUS(Status) != 0)
{
runScripts ("DPkg::Post-Invoke", false);
- if (WIFSIGNALED(tqStatus) != 0 && WTERMSIG(tqStatus) == SIGSEGV)
+ if (WIFSIGNALED(Status) != 0 && WTERMSIG(Status) == SIGSEGV)
return _error->Error("Sub-process %s received a segmentation fault.", argv [0]);
- if (WIFEXITED(tqStatus) != 0)
- return _error->Error("Sub-process %s returned an error code (%u)", argv[0], WEXITSTATUS(tqStatus));
+ if (WIFEXITED(Status) != 0)
+ return _error->Error("Sub-process %s returned an error code (%u)", argv[0], WEXITSTATUS(Status));
return _error->Error("Sub-process %s exited unexpectedly", argv[0]);
}
@@ -312,7 +312,7 @@ void DPkgPM::dpkgMonitor ()
r = "";
else
r = string( r, colon + 2, string::npos );
- updatetqStatus( p, e, r );
+ updateStatus( p, e, r );
}
b = string( b, nl + 1, string::npos );
@@ -322,9 +322,9 @@ void DPkgPM::dpkgMonitor ()
}
}
-void DPkgPM::updatetqStatus( std::string pkg, std::string ev, std::string r )
+void DPkgPM::updateStatus( std::string pkg, std::string ev, std::string r )
{
- OpAndtqStatus os = std::make_pair( m_currentOp, ev );
+ OpAndStatus os = std::make_pair( m_currentOp, ev );
if ( m_seenOps[ std::make_pair( os, pkg ) ] == 0 ) {
m_seenOpCount++;
m_seenOps[ std::make_pair( os, pkg ) ] = 1;
diff --git a/adept/libadept/dpkgpm.h b/adept/libadept/dpkgpm.h
index 37e9001..b899693 100644
--- a/adept/libadept/dpkgpm.h
+++ b/adept/libadept/dpkgpm.h
@@ -21,8 +21,8 @@ protected:
int m_scriptPipe[2];
unsigned m_version;
std::string m_statusBuffer;
- typedef std::pair< Op, std::string > OpAndtqStatus;
- typedef std::map< std::pair< OpAndtqStatus, std::string >, int > SeenOps;
+ typedef std::pair< Op, std::string > OpAndStatus;
+ typedef std::map< std::pair< OpAndStatus, std::string >, int > SeenOps;
SeenOps m_seenOps;
int m_totalOpCount;
int m_seenOpCount;
@@ -39,7 +39,7 @@ public:
virtual void dpkgMonitor (void);
virtual bool SendV1Pkgs (FILE *);
virtual bool feedPackages (void);
- virtual void updatetqStatus( std::string pkg, std::string ev, std::string r );
+ virtual void updateStatus( std::string pkg, std::string ev, std::string r );
};
}
diff --git a/adept/libadept/easytagfilterui.ui b/adept/libadept/easytagfilterui.ui
index c7bc4ca..9c269c8 100644
--- a/adept/libadept/easytagfilterui.ui
+++ b/adept/libadept/easytagfilterui.ui
@@ -59,7 +59,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>130</width>
<height>20</height>
@@ -185,7 +185,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/adept/libadept/extendablelist.cpp b/adept/libadept/extendablelist.cpp
index c97fa0f..d37dd63 100644
--- a/adept/libadept/extendablelist.cpp
+++ b/adept/libadept/extendablelist.cpp
@@ -94,7 +94,7 @@ void ExtendableList::updateExtender( ExtendableItem *i )
return;
}
- // TQRect rect = tqitemRect( i );
+ // TQRect rect = itemRect( i );
addChild( i->extender(), extenderOffset( i ), itemPos( i ) );
// addChild( i->extender(), x, rect.y() );
i->extender()->show();
@@ -298,12 +298,12 @@ void ExtendableItem::paintBranches( TQPainter *p,
static void setcolor( TQWidget *w, ExtendableItem *i ) {
if ( i->isSelected() && i->list()->extenderHighlight() )
- w->setPaletteBackgroundColor( w->tqcolorGroup().highlight() );
+ w->setPaletteBackgroundColor( w->colorGroup().highlight() );
else if ( i->isAlternate() )
w->setPaletteBackgroundColor(
KGlobalSettings::alternateBackgroundColor() );
else
- w->setPaletteBackgroundColor( w->tqcolorGroup().base() );
+ w->setPaletteBackgroundColor( w->colorGroup().base() );
// w->setBackgroundMode( TQWidget::PaletteBase );
}
void ItemExtender::setupColors()
diff --git a/adept/libadept/extendablelist.h b/adept/libadept/extendablelist.h
index b90e86f..d22a04c 100644
--- a/adept/libadept/extendablelist.h
+++ b/adept/libadept/extendablelist.h
@@ -146,7 +146,7 @@ public:
setUpdatesEnabled( false );
TQWidget::resize( w, h );
setUpdatesEnabled( true );
- TQWidget::resize( w, tqlayout()->tqminimumSize().height() );
+ TQWidget::resize( w, tqlayout()->minimumSize().height() );
}
void resize( const TQSize &s ) {
diff --git a/adept/libadept/installerviewui.ui b/adept/libadept/installerviewui.ui
index 40b2839..fe4b405 100644
--- a/adept/libadept/installerviewui.ui
+++ b/adept/libadept/installerviewui.ui
@@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
diff --git a/adept/libadept/lister.cpp b/adept/libadept/lister.cpp
index e864270..a1249ce 100644
--- a/adept/libadept/lister.cpp
+++ b/adept/libadept/lister.cpp
@@ -474,7 +474,7 @@ ListerItemExtender::ListerItemExtender( TQWidget *parent, const char * n)
this, TQT_SLOT( detailsClicked() ) );
m_packageInfo->adjustFontSize( -1 );
- m_packageInfo->hidetqStatus();
+ m_packageInfo->hideStatus();
}
void ListerItemExtender::detailsClicked() {
@@ -488,7 +488,7 @@ ListerItem *ListerItemExtender::item()
void ListerItemExtender::mouseReleaseEvent( TQMouseEvent *e ) {
e->ignore();
- if ( tqchildAt( e->pos() ) != static_cast< TQWidget * >( m_name ) )
+ if ( childAt( e->pos() ) != static_cast< TQWidget * >( m_name ) )
e->accept();
}
void ListerItemExtender::setItem( ExtendableItem *i )
@@ -703,5 +703,5 @@ void ListerTooltip::maybeTip( const TQPoint &pt )
str += format( i18n( "Candidate&nbsp;Version:" ), cand );
str.append( u8( "</qt>" ) );
- tip( m_parent->tqitemRect( x ), str );
+ tip( m_parent->itemRect( x ), str );
}
diff --git a/adept/libadept/listerextenderui.ui b/adept/libadept/listerextenderui.ui
index 6c04dff..9226dad 100644
--- a/adept/libadept/listerextenderui.ui
+++ b/adept/libadept/listerextenderui.ui
@@ -35,7 +35,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -52,7 +52,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>4</height>
@@ -69,7 +69,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>4</width>
<height>20</height>
@@ -205,7 +205,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -238,7 +238,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -251,7 +251,7 @@
<property name="name">
<cstring>m_packageInfo</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
@@ -268,7 +268,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>4</width>
<height>20</height>
diff --git a/adept/libadept/packagedetails.cpp b/adept/libadept/packagedetails.cpp
index beb668c..04d25a9 100644
--- a/adept/libadept/packagedetails.cpp
+++ b/adept/libadept/packagedetails.cpp
@@ -41,7 +41,7 @@ PackageDetails::PackageDetails( TQWidget *w, const char *n )
m_lister->setRangeProvider( this ); // wee
// m_lister->setOpenToplevel( true );
- m_description->setPaper( TQBrush( tqcolorGroup().background() ) );
+ m_description->setPaper( TQBrush( colorGroup().background() ) );
connect( m_toolbar->getButton( BShow ), TQT_SIGNAL( clicked() ),
this, TQT_SIGNAL( showList() ) );
diff --git a/adept/libadept/packagedetailsui.ui b/adept/libadept/packagedetailsui.ui
index dbd8a3d..b09a30c 100644
--- a/adept/libadept/packagedetailsui.ui
+++ b/adept/libadept/packagedetailsui.ui
@@ -83,7 +83,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>75</height>
@@ -100,7 +100,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -125,7 +125,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -150,7 +150,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -231,7 +231,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>120</height>
@@ -284,7 +284,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@@ -352,7 +352,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>61</height>
diff --git a/adept/libadept/packageinfo.cpp b/adept/libadept/packageinfo.cpp
index 0386604..001460a 100644
--- a/adept/libadept/packageinfo.cpp
+++ b/adept/libadept/packageinfo.cpp
@@ -31,7 +31,7 @@ void PackageInfo::adjustFontSize( int s ) {
adept::adjustFontSize( m_installedVer, s );
}
-void PackageInfo::hidetqStatus() {
+void PackageInfo::hideStatus() {
m_status->hide();
m_change->hide();
}
diff --git a/adept/libadept/packageinfo.h b/adept/libadept/packageinfo.h
index 4b2e8a3..e738ace 100644
--- a/adept/libadept/packageinfo.h
+++ b/adept/libadept/packageinfo.h
@@ -25,7 +25,7 @@ public slots:
public:
void notifyPostChange( cache::component::Base * );
void notifyPostRebuild( cache::component::Base * );
- void hidetqStatus();
+ void hideStatus();
protected:
cache::entity::StableVersion m_version;
bool m_specificVersion;
diff --git a/adept/libadept/packageinfoui.ui b/adept/libadept/packageinfoui.ui
index 26ae282..5664467 100644
--- a/adept/libadept/packageinfoui.ui
+++ b/adept/libadept/packageinfoui.ui
@@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>16</width>
<height>5</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>16</width>
<height>5</height>
@@ -65,7 +65,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
diff --git a/adept/libadept/quickfilterui.ui b/adept/libadept/quickfilterui.ui
index dd90f08..835b4cf 100644
--- a/adept/libadept/quickfilterui.ui
+++ b/adept/libadept/quickfilterui.ui
@@ -45,7 +45,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@@ -62,7 +62,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -114,7 +114,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>21</height>
diff --git a/adept/libadept/statefilterui.ui b/adept/libadept/statefilterui.ui
index 295f29d..8744a4d 100644
--- a/adept/libadept/statefilterui.ui
+++ b/adept/libadept/statefilterui.ui
@@ -78,7 +78,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>195</width>
<height>16</height>
@@ -137,7 +137,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>195</width>
<height>16</height>
diff --git a/adept/libadept/tagfilterui.ui b/adept/libadept/tagfilterui.ui
index 82a8dce..1f78b8a 100644
--- a/adept/libadept/tagfilterui.ui
+++ b/adept/libadept/tagfilterui.ui
@@ -40,7 +40,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>90</height>
diff --git a/adept/libadept/taglist.cpp b/adept/libadept/taglist.cpp
index e234831..3dc48f8 100644
--- a/adept/libadept/taglist.cpp
+++ b/adept/libadept/taglist.cpp
@@ -22,7 +22,7 @@ TagLabel::TagLabel( Tag t, TagList *l, TQWidget *p, const char *n )
} else {
m_remove = new TQLabel( this );
m_remove->setPixmap( SmallIcon( u8( "cancel" ) ) );
- m_remove->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ m_remove->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
m_description = new TQLabel( TQString( " [" ) + t.fullname( "n/a" ) + "] "
+ t.shortDescription( "n/a" ), this );
}
@@ -30,7 +30,7 @@ TagLabel::TagLabel( Tag t, TagList *l, TQWidget *p, const char *n )
void TagLabel::mouseReleaseEvent( TQMouseEvent *e ) {
if ( e->button() == Qt::LeftButton &&
- dynamic_cast< TQLabel * >( tqchildAt( e->pos() ) ) == m_remove )
+ dynamic_cast< TQLabel * >( childAt( e->pos() ) ) == m_remove )
m_list->setTags( m_list->tags() - m_tag );
}
@@ -101,7 +101,7 @@ void TagList::appendLabel( TagLabel *l )
}
void TagList::mouseMoveEvent( TQMouseEvent *e ) {
- TagLabel *child = dynamic_cast< TagLabel * >( tqchildAt( e->pos() )->parentWidget() );
+ TagLabel *child = dynamic_cast< TagLabel * >( childAt( e->pos() )->parentWidget() );
if ( !child )
return;
TQDragObject *d = new TQTextDrag( child->tag().fullname( "" ), this );
diff --git a/adept/manager/app.cpp b/adept/manager/app.cpp
index 21cae1f..14b3c95 100644
--- a/adept/manager/app.cpp
+++ b/adept/manager/app.cpp
@@ -45,7 +45,7 @@ TestApp::TestApp() {
m_stack = new TQWidgetStack( this );
m_stack->addWidget( m_loading = new TQLabel( i18n( "Loading, please wait..." ), m_stack ) );
- m_loading->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
+ m_loading->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
Application::setStatusBar( statusBar() );
diff --git a/adept/updater/app.cpp b/adept/updater/app.cpp
index d48fbd2..000b950 100644
--- a/adept/updater/app.cpp
+++ b/adept/updater/app.cpp
@@ -51,7 +51,7 @@ TestApp::TestApp()
m_stack = new TQWidgetStack( m_all );
m_stack->addWidget( m_loading = new TQLabel( i18n( "Loading, please wait..." ), m_stack ) );
- m_loading->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
+ m_loading->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
m_buttons = new TQHBox( m_all );
TQLabel *space = new TQLabel( m_buttons ); // spacing
@@ -63,10 +63,10 @@ TestApp::TestApp()
m_buttons->setSpacing( 2 );
m_buttons->setMargin( 2 );
TQSizePolicy buttons( TQSizePolicy::Preferred, TQSizePolicy::Fixed, false );
- m_buttons->tqsetSizePolicy( buttons );
- m_next->tqsetSizePolicy( buttons );
- m_quit->tqsetSizePolicy( buttons );
- space->tqsetSizePolicy( TQSizePolicy(
+ m_buttons->setSizePolicy( buttons );
+ m_next->setSizePolicy( buttons );
+ m_quit->setSizePolicy( buttons );
+ space->setSizePolicy( TQSizePolicy(
TQSizePolicy::Expanding,
TQSizePolicy::Fixed, false ) );
@@ -96,8 +96,8 @@ void TestApp::delayed()
m_stack ) );
m_stack->addWidget( m_start = new TQLabel( i18n( "Welcome to Adept Updater" ),
m_stack ) );
- m_bye->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
- m_start->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
+ m_bye->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
+ m_start->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
m_list->searchView()->setUpgradeMode();