Diffstat (limited to 'noncore/unsupported/oipkg/pksettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pksettings.cpp | 24 |
1 files changed, 15 insertions, 9 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 | ||
64 | PackageManagerSettings::~PackageManagerSettings() | 71 | PackageManagerSettings::~PackageManagerSettings() |
@@ -538,6 +545,7 @@ void 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 | ||
543 | void PackageManagerSettings::activeServerChanged() | 551 | void PackageManagerSettings::activeServerChanged() |
@@ -545,11 +553,6 @@ void PackageManagerSettings::activeServerChanged() | |||
545 | changed = true; | 553 | changed = true; |
546 | } | 554 | } |
547 | 555 | ||
548 | QComboBox* PackageManagerSettings::getDestCombo() | ||
549 | { | ||
550 | return new QComboBox(activeDestination); | ||
551 | } | ||
552 | |||
553 | void PackageManagerSettings::createLinksToDest() | 556 | void 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 ) | 570 | void 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 | } | ||