summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/minicli-combo-editor.diff
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-24 17:26:04 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-24 17:26:04 -0400
commit93c66bf8bb8ac0124ae1800cbaaeb814742bfac5 (patch)
tree2551422a7981b35684110fae090223b7a1b6d73f /opensuse/tdebase/minicli-combo-editor.diff
parent425774d7d1d663e08bb06050924f2eeca9147bba (diff)
downloadtde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.tar.gz
tde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.zip
dbus-1-tqt -> libdbus-tqt-1-0 AND tdelibs import (unchanged)
Diffstat (limited to 'opensuse/tdebase/minicli-combo-editor.diff')
-rw-r--r--opensuse/tdebase/minicli-combo-editor.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/opensuse/tdebase/minicli-combo-editor.diff b/opensuse/tdebase/minicli-combo-editor.diff
new file mode 100644
index 000000000..698668ec1
--- /dev/null
+++ b/opensuse/tdebase/minicli-combo-editor.diff
@@ -0,0 +1,34 @@
+Index: kdesktop/minicli.h
+===================================================================
+--- kdesktop/minicli.h.orig
++++ kdesktop/minicli.h
+@@ -52,12 +52,14 @@ public:
+
+ void setCommand(const QString& command);
+ void reset();
+- void saveConfig();
+ void clearHistory();
+
+ virtual void show();
+ virtual QSize sizeHint() const;
+
++public slots:
++ void saveConfig();
++
+ protected slots:
+ virtual void accept();
+ virtual void reject();
+Index: kdesktop/minicli.cpp
+===================================================================
+--- kdesktop/minicli.cpp.orig
++++ kdesktop/minicli.cpp
+@@ -133,6 +133,9 @@ Minicli::Minicli( QWidget *parent, const
+ connect( m_dlg->cbCommand, SIGNAL( returnPressed() ),
+ m_dlg->pbRun, SLOT( animateClick() ) );
+
++ m_dlg->cbCommand->setHistoryEditorEnabled( true );
++ connect( m_dlg->cbCommand, SIGNAL(removed( const QString&) ), SLOT(saveConfig()) );
++
+ // Advanced group box...
+ connect(m_dlg->cbPriority, SIGNAL(toggled(bool)), SLOT(slotChangeScheduler(bool)));
+ connect(m_dlg->slPriority, SIGNAL(valueChanged(int)), SLOT(slotPriority(int)));