summaryrefslogtreecommitdiff
path: root/noncore/net/opieftp/opieftp.cpp
authorllornkcor <llornkcor>2002-07-08 03:19:43 (UTC)
committer llornkcor <llornkcor>2002-07-08 03:19:43 (UTC)
commitbbbd61bf777f1ac2342cde61e0710c9d6a348114 (patch) (unidiff)
treed3b8d66608dfd5da36cc23295c0c56077fcfeff6 /noncore/net/opieftp/opieftp.cpp
parent6162155d2b146c7b2e713f56e215618d116cef3b (diff)
downloadopie-bbbd61bf777f1ac2342cde61e0710c9d6a348114.zip
opie-bbbd61bf777f1ac2342cde61e0710c9d6a348114.tar.gz
opie-bbbd61bf777f1ac2342cde61e0710c9d6a348114.tar.bz2
change pushbutton to toolbutton
Diffstat (limited to 'noncore/net/opieftp/opieftp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index 8f2b9c9..9d6356d 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -127,8 +127,8 @@ OpieFtp::OpieFtp( )
127 127
128 cdUpButton = new QPushButton(Resource::loadIconSet("up"),"",this,"cdUpButton"); 128 cdUpButton = new QToolButton( this,"cdUpButton");
129 cdUpButton->setPixmap(Resource::loadPixmap("up"));
129 cdUpButton ->setFixedSize( QSize( 20, 20 ) ); 130 cdUpButton ->setFixedSize( QSize( 20, 20 ) );
130 connect( cdUpButton ,SIGNAL(released()),this,SLOT( upDir()) ); 131 connect( cdUpButton ,SIGNAL(released()),this,SLOT( upDir()) );
131 cdUpButton ->setFlat(TRUE);
132 layout->addMultiCellWidget( cdUpButton, 0, 0, 3, 3 ); 132 layout->addMultiCellWidget( cdUpButton, 0, 0, 3, 3 );
133 cdUpButton->hide(); 133 cdUpButton->hide();
134 134
@@ -140,6 +140,6 @@ OpieFtp::OpieFtp( )
140 140
141 homeButton = new QPushButton( Resource::loadIconSet("home"),"",this,"homeButton"); 141 homeButton = new QToolButton(this,"homeButton");
142 homeButton->setPixmap( Resource::loadPixmap("home"));
142 homeButton->setFixedSize( QSize( 20, 20 ) ); 143 homeButton->setFixedSize( QSize( 20, 20 ) );
143 connect(homeButton,SIGNAL(released()),this,SLOT(homeButtonPushed()) ); 144 connect(homeButton,SIGNAL(released()),this,SLOT(homeButtonPushed()) );
144 homeButton->setFlat(TRUE);
145 layout->addMultiCellWidget( homeButton, 0, 0, 4, 4); 145 layout->addMultiCellWidget( homeButton, 0, 0, 4, 4);
@@ -233,3 +233,3 @@ OpieFtp::OpieFtp( )
233 tabLayout_3->addMultiCellWidget( PasswordEdit, 1, 1, 2, 3 ); 233 tabLayout_3->addMultiCellWidget( PasswordEdit, 1, 1, 2, 3 );
234 234//PasswordEdit->setFixedWidth(85);
235 TextLabel3 = new QLabel( tab_3, "TextLabel3" ); 235 TextLabel3 = new QLabel( tab_3, "TextLabel3" );
@@ -252,3 +252,2 @@ OpieFtp::OpieFtp( )
252 tabLayout_3->addMultiCellWidget( remotePath, 3, 3, 2, 3 ); 252 tabLayout_3->addMultiCellWidget( remotePath, 3, 3, 2, 3 );
253
254 TextLabel4 = new QLabel( tab_3, "TextLabel4" ); 253 TextLabel4 = new QLabel( tab_3, "TextLabel4" );
@@ -287,3 +286,3 @@ OpieFtp::OpieFtp( )
287 layout->addMultiCellWidget( currentPathCombo, 3, 3, 0, 4); 286 layout->addMultiCellWidget( currentPathCombo, 3, 3, 0, 4);
288 287 currentPathCombo ->setFixedWidth(220);
289 currentPathCombo->setEditable(TRUE); 288 currentPathCombo->setEditable(TRUE);