summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/pksettings.cpp
authortille <tille>2002-07-17 10:59:08 (UTC)
committer tille <tille>2002-07-17 10:59:08 (UTC)
commit1a6f157f6a83a73907dcd4c4da1d7b24cb19dc5c (patch) (unidiff)
tree3acd973e7c21d98aae401134aaa7fb1b8c84aa30 /noncore/unsupported/oipkg/pksettings.cpp
parent3fed427aa17245af52574795a62249607f90b0bf (diff)
downloadopie-1a6f157f6a83a73907dcd4c4da1d7b24cb19dc5c.zip
opie-1a6f157f6a83a73907dcd4c4da1d7b24cb19dc5c.tar.gz
opie-1a6f157f6a83a73907dcd4c4da1d7b24cb19dc5c.tar.bz2
added destination toolbar
Diffstat (limited to 'noncore/unsupported/oipkg/pksettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/pksettings.cpp26
1 files changed, 16 insertions, 10 deletions
diff --git a/noncore/unsupported/oipkg/pksettings.cpp b/noncore/unsupported/oipkg/pksettings.cpp
index 59d5a3e..14c1944 100644
--- a/noncore/unsupported/oipkg/pksettings.cpp
+++ b/noncore/unsupported/oipkg/pksettings.cpp
@@ -59,6 +59,13 @@ PackageManagerSettings::PackageManagerSettings( QWidget* parent, const char* na
59 readSettings(); 59 readSettings();
60 activeLinkDestination->hide(); 60 activeLinkDestination->hide();
61 serverChanged = false; 61 serverChanged = false;
62
63 // get rid of setups
64// Settings->hide();
65 settingName->hide();
66 newsetting->hide();
67 renamesetting->hide();
68 removesetting->hide();
62} 69}
63 70
64PackageManagerSettings::~PackageManagerSettings() 71PackageManagerSettings::~PackageManagerSettings()
@@ -532,12 +539,13 @@ QStringList PackageManagerSettings::getDestinationNames()
532 } 539 }
533 return sl; 540 return sl;
534} 541}
535 542
536 543
537void PackageManagerSettings::linkEnabled( bool b ) 544void PackageManagerSettings::linkEnabled( bool b )
538{ 545{
539 pvDebug(2,"PackageManagerSettings::linkEnabled "+QString(b?"yes":"no")); 546 pvDebug(2,"PackageManagerSettings::linkEnabled "+QString(b?"yes":"no"));
540 activeLinkDestination->setEnabled( b ); 547 activeLinkDestination->setEnabled( b );
548 CheckBoxLink->setChecked( b );
541} 549}
542 550
543void PackageManagerSettings::activeServerChanged() 551void PackageManagerSettings::activeServerChanged()
@@ -545,11 +553,6 @@ void PackageManagerSettings::activeServerChanged()
545 changed = true; 553 changed = true;
546} 554}
547 555
548QComboBox* PackageManagerSettings::getDestCombo()
549{
550 return new QComboBox(activeDestination);
551}
552
553void PackageManagerSettings::createLinksToDest() 556void PackageManagerSettings::createLinksToDest()
554{ 557{
555 pvDebug(2,"creating links..."); 558 pvDebug(2,"creating links...");
@@ -564,7 +567,10 @@ void PackageManagerSettings::removeLinksToDest()
564 //ipkg->removeLinks( destinationurl ); 567 //ipkg->removeLinks( destinationurl );
565} 568}
566 569
567//void PackageManagerSettings::setIpkg( PmIpkg* i ) 570void PackageManagerSettings::activeDestinationChange(int i)
568//{ 571{
569 //ipkg = i; 572 pvDebug(5,"activeDestinationChange "+QString::number(i));
570//} 573 if (i > activeDestination->count()) return;
574 activeDestination->setCurrentItem(i);
575 pvDebug(5,"dest name "+ activeDestination->currentText());
576}