diff options
author | Michele Calgaro <[email protected]> | 2020-02-09 20:23:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-02-09 20:23:00 +0900 |
commit | ea7224e45750c120b7bb6a2ef1298375ea6ad95a (patch) | |
tree | 6568d33e37b228d563348c9be4555b2e515d3994 /src/menuhandler.cpp | |
parent | 4e0495add57599bcc2a6ac12d3f0a151fc4d636a (diff) | |
download | tastymenu-ea7224e45750c120b7bb6a2ef1298375ea6ad95a.tar.gz tastymenu-ea7224e45750c120b7bb6a2ef1298375ea6ad95a.zip |
Removed beagle related code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/menuhandler.cpp')
-rw-r--r-- | src/menuhandler.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/menuhandler.cpp b/src/menuhandler.cpp index db280fb..33c1477 100644 --- a/src/menuhandler.cpp +++ b/src/menuhandler.cpp @@ -448,7 +448,6 @@ void MenuHandler::readConfig() int h = (int)(r.height()/_menuHeight); resize(w,h); - _kerryIntegration = prefSkel->kerryIntegration(); _strigiIntegration = prefSkel->strigiIntegration(); _isNormalWindow = prefSkel->isNormalWindow(); @@ -464,36 +463,20 @@ void MenuHandler::readConfig() } // disconnect(menu->searchLine, 0, 0, 0); - if( !_kerryIntegration && !_strigiIntegration ) + if( !_strigiIntegration ) { //menu->searchLine->setListView((TDEListView *)(menu->dynamicList)); disconnect(menu->searchLine, SIGNAL(returnPressed( const TQString &)), - this, SLOT (kerrySearch( const TQString &)) ); - disconnect(menu->searchLine, SIGNAL(returnPressed( const TQString &)), this, SLOT (strigiSearch( const TQString &)) ); connect(menu->searchLine, SIGNAL(textChanged( const TQString &)), this, SLOT (initializeSearch( const TQString &)) ); } - else if( _kerryIntegration ) - { - menu->searchLine->setListView(NULL); - menu->searchLine->setEnabled(true); - disconnect(menu->searchLine, SIGNAL(textChanged( const TQString &)), - this, SLOT (initializeSearch( const TQString &)) ); - disconnect(menu->searchLine, SIGNAL(returnPressed( const TQString &)), - this, SLOT (strigiSearch( const TQString &)) ); - connect(menu->searchLine, SIGNAL(returnPressed( const TQString &)), - this, SLOT (kerrySearch( const TQString &)) ); - menu->searchLine->setContextMenuEnabled(false); - } else //strigi { menu->searchLine->setListView(NULL); menu->searchLine->setEnabled(true); disconnect(menu->searchLine, SIGNAL(textChanged( const TQString &)), this, SLOT (initializeSearch( const TQString &)) ); - disconnect(menu->searchLine, SIGNAL(returnPressed( const TQString &)), - this, SLOT (kerrySearch( const TQString &)) ); connect(menu->searchLine, SIGNAL(returnPressed( const TQString &)), this, SLOT (strigiSearch( const TQString &)) ); menu->searchLine->setContextMenuEnabled(false); @@ -1620,13 +1603,6 @@ void MenuHandler::initializeSearch( const TQString & query ) } } -void MenuHandler::kerrySearch( const TQString & query ) -{ - close(); - DCOPRef kdesktopKScreensaverIface ("kerry", "search"); - kdesktopKScreensaverIface.call ("search(TQString)", query); -} - void MenuHandler::strigiSearch( const TQString & query ) { close(); |